You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/wg-easy/docker-compose.yml
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,19 +1,19 @@
1
1
services:
2
2
3
3
wg-easy:
4
-
image: ghcr.io/wg-easy/wg-easy:latest
4
+
image: ghcr.io/wg-easy/wg-easy:15
5
5
container_name: wg-easy
6
6
hostname: wireguard-easy
7
7
restart: unless-stopped
8
8
cap_add:
9
9
- NET_ADMIN
10
10
- SYS_MODULE
11
11
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
0 commit comments