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 3
3
image : ghcr.io/linuxserver/wireguard
4
4
restart : unless-stopped
5
5
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
14
14
ports :
15
- - " 51820:51820/udp"
15
+ - " 51820:51820/udp"
16
16
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
21
20
cap_add :
22
- - NET_ADMIN
23
- - SYS_MODULE
21
+ - NET_ADMIN
24
22
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