fix: update docker-compose configuration; add frontend network and correct WireGuard port mapping

This commit is contained in:
2026-01-20 19:59:09 +01:00
parent 1e34684ab5
commit 58c590c5b3

View File

@@ -3,6 +3,8 @@ services:
container_name: ca-lose-frontend
hostname: lose-verkaufen
build: ./frontend
networks:
- ca-lose-internal
restart: unless-stopped
backend:
@@ -47,7 +49,7 @@ services:
volumes:
- ./wireguard-data:/etc/wireguard
ports:
- "127.0.0.1:51830:51820/udp" # WireGuard nur lokal erreichbar, Host-Port 51830
- "51830:51820/udp" # WireGuard extern erreichbar auf Port 51830
- "127.0.0.1:51821:51821/tcp" # Web-UI nur lokal erreichbar
cap_add:
- NET_ADMIN
@@ -57,7 +59,6 @@ services:
- net.ipv4.conf.all.src_valid_mark=1
networks:
- ca-lose-internal
- proxynet
restart: unless-stopped
volumes:
@@ -70,5 +71,3 @@ networks:
ipam:
config:
- subnet: 172.25.0.0/24
proxynet:
external: true