We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0601b3 commit a1c4a05Copy full SHA for a1c4a05
wg-easy/compose.yml
@@ -0,0 +1,25 @@
1
+name: wg-easy
2
+services:
3
+ wg-easy:
4
+ container_name: wg-easy
5
+ environment:
6
+ - LANG=en
7
+ - WG_HOST=<host_server_ip_address> #ip address or myserver.domain.com
8
+ - PASSWORD_HASH=$$2a$$16$$y20H7D7mPmL.bxxxxxxxxxxxxxxxxxxxxx #bcrypt hash - replace single $ with double $$
9
+ - PORT=51821
10
+ - WG_PORT=51820
11
+ - WG_DEFAULT_DNS=1.1.1.1, 8.8.8.8 #replace if you want with NextDNS
12
+ - UI_TRAFFIC_STATS=true
13
+ volumes:
14
+ - ~/.wg-easy:/etc/wireguard
15
+ ports:
16
+ - 51820:51820/udp
17
+ - 51821:51821/tcp
18
+ cap_add:
19
+ - NET_ADMIN
20
+ - SYS_MODULE
21
+ sysctls:
22
+ - net.ipv4.conf.all.src_valid_mark=1
23
+ - net.ipv4.ip_forward=1
24
+ restart: unless-stopped
25
+ image: ghcr.io/wg-easy/wg-easy
0 commit comments