From 87df5bd257c8274ae26df322ae84119b98345670 Mon Sep 17 00:00:00 2001 From: Thuan Bui Date: Wed, 27 Dec 2023 19:47:43 +0700 Subject: [PATCH] Update docker-compose.yml Change wg-easy docker image to the latest hosted by github --- docker-compose.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index cfb6434..3a15985 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -23,15 +23,23 @@ services: # ⚠️ Required: # Change this to your host's public address - WG_HOST= my.ddns.net - - # Optional: - PASSWORD=10h30 - WG_PORT=51820 - WG_DEFAULT_ADDRESS=10.6.0.x - WG_DEFAULT_DNS=10.2.0.100 + + # Optional: # - WG_ALLOWED_IPS=192.168.15.0/24, 10.0.1.0/24 + # - WG_INTERFACE=wg0 + # - WG_MTU=1420 + # - WG_ALLOWED_IPS=192.168.15.0/24, 10.0.1.0/24 + # - WG_PERSISTENT_KEEPALIVE=25 + # - WG_PRE_UP=echo "Pre Up" > /etc/wireguard/pre-up.txt + # - WG_POST_UP=echo "Post Up" > /etc/wireguard/post-up.txt + # - WG_PRE_DOWN=echo "Pre Down" > /etc/wireguard/pre-down.txt + # - WG_POST_DOWN=echo "Post Down" > /etc/wireguard/post-down.txt - image: weejewel/wg-easy + image: ghcr.io/wg-easy/wg-easy container_name: wg-easy volumes: - .:/etc/wireguard