diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index 512e0f4..d1727bd 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -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