fix compose port forwarding

This commit is contained in:
w0rng 2024-09-09 09:40:56 +07:00
parent d272d4ea60
commit 3aeb551516
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ services:
volumes: volumes:
- etc_wireguard:/etc/wireguard - etc_wireguard:/etc/wireguard
ports: ports:
- "${WG_PORT}:51820/udp" - "${WG_PORT}:${WG_PORT}/udp"
- "${PORT}:${PORT}/tcp" - "${PORT}:${PORT}/tcp"
restart: unless-stopped restart: unless-stopped
cap_add: cap_add: