Skip to content

Commit

Permalink
Merge pull request #701 from Paraphraser/20230516-wireguard-old-menu
Browse files Browse the repository at this point in the history
2023-05-16 Wireguard conformance - old-menu branch - PR 2 of 2
  • Loading branch information
Slyke authored Jun 25, 2023
2 parents 695146b + 2d9cec4 commit 7888843
Showing 1 changed file with 14 additions and 16 deletions.
30 changes: 14 additions & 16 deletions .templates/wireguard/service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,21 @@
image: ghcr.io/linuxserver/wireguard
restart: unless-stopped
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
- SERVERURL=your.dynamic.dns.name
- SERVERPORT=51820
- PEERS=laptop,phone,tablet
- PEERDNS=auto
- ALLOWEDIPS=0.0.0.0/0
- PUID=1000
- PGID=1000
- TZ=${TZ:-Etc/UTC}
- SERVERURL=your.dynamic.dns.name
- SERVERPORT=51820
- PEERS=laptop,phone,tablet
- PEERDNS=auto
- ALLOWEDIPS=0.0.0.0/0
ports:
- "51820:51820/udp"
- "51820:51820/udp"
volumes:
- ./volumes/wireguard/config:/config
- ./volumes/wireguard/custom-cont-init.d:/custom-cont-init.d
- ./volumes/wireguard/custom-services.d:/custom-services.d
- /lib/modules:/lib/modules:ro
- ./volumes/wireguard/config:/config
- ./volumes/wireguard/custom-cont-init.d:/custom-cont-init.d
- ./volumes/wireguard/custom-services.d:/custom-services.d
cap_add:
- NET_ADMIN
- SYS_MODULE
- NET_ADMIN
sysctls:
- net.ipv4.conf.all.src_valid_mark=1
- net.ipv4.conf.all.src_valid_mark=1

0 comments on commit 7888843

Please sign in to comment.