Skip to content

Commit 9268162

Browse files
authored
Update docker-compose.yml
1 parent 4b67591 commit 9268162

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

examples/wg-easy/docker-compose.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
services:
22

33
wg-easy:
4-
image: ghcr.io/wg-easy/wg-easy:latest
4+
image: ghcr.io/wg-easy/wg-easy:15
55
container_name: wg-easy
66
hostname: wireguard-easy
77
restart: unless-stopped
88
cap_add:
99
- NET_ADMIN
1010
- SYS_MODULE
1111
environment:
12-
- WG_HOST=vpn.example.com # your hostname or ip address
13-
- PASSWORD_HASH=$$2a$$12$$FGHsQAGm9N9sxJ54RiWiMumk2QkRVjyueCv9mRbrdc1f8y6pN36mq # password: foobar123; adjust to your needs and double escape $ character
14-
- WG_DEFAULT_DNS=1.1.1.1,8.8.8.8 # add your local dns like pihole
15-
- WG_ALLOWED_IPS=0.0.0.0/0, ::/0
16-
- WG_DEVICE=eth0
12+
- INIT_ENABLED=true
13+
- INIT_USERNAME=admin # adjust
14+
- INIT_PASSWORD=VerySecureInitPassword123 # adjust
15+
- INIT_HOST=vpn.example.com # your hostname or ip address
16+
- INIT_DNS=1.1.1.1,8.8.8.8 # add your local dns like pihole
1717
ports:
1818
- 51820:51820/udp # wireguard vpn
1919
- 51821:51821/tcp # admin web ui

0 commit comments

Comments
 (0)