fix: update docker-compose configuration; add frontend network and correct WireGuard port mapping
This commit is contained in:
@@ -3,6 +3,8 @@ services:
|
|||||||
container_name: ca-lose-frontend
|
container_name: ca-lose-frontend
|
||||||
hostname: lose-verkaufen
|
hostname: lose-verkaufen
|
||||||
build: ./frontend
|
build: ./frontend
|
||||||
|
networks:
|
||||||
|
- ca-lose-internal
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
backend:
|
backend:
|
||||||
@@ -47,7 +49,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./wireguard-data:/etc/wireguard
|
- ./wireguard-data:/etc/wireguard
|
||||||
ports:
|
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
|
- "127.0.0.1:51821:51821/tcp" # Web-UI nur lokal erreichbar
|
||||||
cap_add:
|
cap_add:
|
||||||
- NET_ADMIN
|
- NET_ADMIN
|
||||||
@@ -57,7 +59,6 @@ services:
|
|||||||
- net.ipv4.conf.all.src_valid_mark=1
|
- net.ipv4.conf.all.src_valid_mark=1
|
||||||
networks:
|
networks:
|
||||||
- ca-lose-internal
|
- ca-lose-internal
|
||||||
- proxynet
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
@@ -70,5 +71,3 @@ networks:
|
|||||||
ipam:
|
ipam:
|
||||||
config:
|
config:
|
||||||
- subnet: 172.25.0.0/24
|
- subnet: 172.25.0.0/24
|
||||||
proxynet:
|
|
||||||
external: true
|
|
||||||
|
|||||||
Reference in New Issue
Block a user