From 926816217e889d18b5fb8caa7223d34a207aec33 Mon Sep 17 00:00:00 2001 From: LRVT <21357789+l4rm4nd@users.noreply.github.com> Date: Mon, 11 Aug 2025 22:24:19 +0200 Subject: [PATCH] Update docker-compose.yml --- examples/wg-easy/docker-compose.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/wg-easy/docker-compose.yml b/examples/wg-easy/docker-compose.yml index 84d9287..c750dfc 100644 --- a/examples/wg-easy/docker-compose.yml +++ b/examples/wg-easy/docker-compose.yml @@ -1,7 +1,7 @@ services: wg-easy: - image: ghcr.io/wg-easy/wg-easy:latest + image: ghcr.io/wg-easy/wg-easy:15 container_name: wg-easy hostname: wireguard-easy restart: unless-stopped @@ -9,11 +9,11 @@ services: - NET_ADMIN - SYS_MODULE environment: - - WG_HOST=vpn.example.com # your hostname or ip address - - PASSWORD_HASH=$$2a$$12$$FGHsQAGm9N9sxJ54RiWiMumk2QkRVjyueCv9mRbrdc1f8y6pN36mq # password: foobar123; adjust to your needs and double escape $ character - - WG_DEFAULT_DNS=1.1.1.1,8.8.8.8 # add your local dns like pihole - - WG_ALLOWED_IPS=0.0.0.0/0, ::/0 - - WG_DEVICE=eth0 + - INIT_ENABLED=true + - INIT_USERNAME=admin # adjust + - INIT_PASSWORD=VerySecureInitPassword123 # adjust + - INIT_HOST=vpn.example.com # your hostname or ip address + - INIT_DNS=1.1.1.1,8.8.8.8 # add your local dns like pihole ports: - 51820:51820/udp # wireguard vpn - 51821:51821/tcp # admin web ui