Update WG-Easy/Docker-Compose.yml
This commit is contained in:
@@ -1,10 +1,14 @@
|
||||
services:
|
||||
wg-easy:
|
||||
#environment:
|
||||
environment:
|
||||
# Optional:
|
||||
# - PORT=51821
|
||||
# - HOST=0.0.0.0
|
||||
# - INSECURE=false
|
||||
- DISABLE_IPV6
|
||||
- INIT_ENABLED
|
||||
- WG_HOST=wg-easy.domain.com
|
||||
- WG_PORT=51822
|
||||
# - WG_MTU=1420
|
||||
|
||||
image: ghcr.io/wg-easy/wg-easy:latest
|
||||
@@ -16,7 +20,7 @@ services:
|
||||
- /srv/docker/wg-easy:/etc/wireguard # Volume mapping for WireGuard configuration files.
|
||||
- /lib/modules:/lib/modules:ro
|
||||
ports:
|
||||
- "51820:51820/udp" # UDP port used by WireGuard.
|
||||
- "51822:51820/udp" # UDP port used by WireGuard.
|
||||
- "51821:51821/tcp" # TCP port for accessing the web interface.
|
||||
restart: unless-stopped
|
||||
cap_add: # Capabilities required for managing networking features.
|
||||
|
||||
Reference in New Issue
Block a user