diff --git a/WG-Easy/Docker-Compose.yml b/WG-Easy/Docker-Compose.yml index 3c76bd4..ac09d56 100644 --- a/WG-Easy/Docker-Compose.yml +++ b/WG-Easy/Docker-Compose.yml @@ -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.