File tree Expand file tree Collapse file tree 1 file changed +14
-16
lines changed Expand file tree Collapse file tree 1 file changed +14
-16
lines changed Original file line number Diff line number Diff line change 33 image : ghcr.io/linuxserver/wireguard
44 restart : unless-stopped
55 environment :
6- - PUID=1000
7- - PGID=1000
8- - TZ=Etc/UTC
9- - SERVERURL=your.dynamic.dns.name
10- - SERVERPORT=51820
11- - PEERS=laptop,phone,tablet
12- - PEERDNS=auto
13- - ALLOWEDIPS=0.0.0.0/0
6+ - PUID=1000
7+ - PGID=1000
8+ - TZ=${TZ:- Etc/UTC}
9+ - SERVERURL=your.dynamic.dns.name
10+ - SERVERPORT=51820
11+ - PEERS=laptop,phone,tablet
12+ - PEERDNS=auto
13+ - ALLOWEDIPS=0.0.0.0/0
1414 ports :
15- - " 51820:51820/udp"
15+ - " 51820:51820/udp"
1616 volumes :
17- - ./volumes/wireguard/config:/config
18- - ./volumes/wireguard/custom-cont-init.d:/custom-cont-init.d
19- - ./volumes/wireguard/custom-services.d:/custom-services.d
20- - /lib/modules:/lib/modules:ro
17+ - ./volumes/wireguard/config:/config
18+ - ./volumes/wireguard/custom-cont-init.d:/custom-cont-init.d
19+ - ./volumes/wireguard/custom-services.d:/custom-services.d
2120 cap_add :
22- - NET_ADMIN
23- - SYS_MODULE
21+ - NET_ADMIN
2422 sysctls :
25- - net.ipv4.conf.all.src_valid_mark=1
23+ - net.ipv4.conf.all.src_valid_mark=1
You can’t perform that action at this time.
0 commit comments