This commit is contained in:
parent
a7125fcbc8
commit
c3b38447a9
32
docs/portainer-stacks/WireGuard.md
Normal file
32
docs/portainer-stacks/WireGuard.md
Normal file
@ -0,0 +1,32 @@
|
||||
Portainer Stack:
|
||||
```yaml
|
||||
---
|
||||
version: "3.8"
|
||||
services:
|
||||
wireguard:
|
||||
image: lscr.io/linuxserver/wireguard:latest
|
||||
container_name: wireguard
|
||||
network_mode: bridge
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
- SYS_MODULE
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=Europe/Amsterdam
|
||||
- SERVERURL=wireguard.sthope.dev
|
||||
- SERVERPORT=51820
|
||||
- PEERS=1
|
||||
- PEERDNS=auto
|
||||
- INTERNAL_SUBNET=10.13.13.0
|
||||
- ALLOWEDIPS=0.0.0.0/0
|
||||
- LOG_CONFS=true
|
||||
volumes:
|
||||
- /home/sthope/docker/wireguard:/config
|
||||
- /lib/modules:/lib/modules
|
||||
ports:
|
||||
- 51820:51820/udp
|
||||
sysctls:
|
||||
- net.ipv4.conf.all.src_valid_mark=1
|
||||
restart: unless-stopped
|
||||
```
|
@ -99,7 +99,7 @@ nav:
|
||||
- PhotoView: portainer-stacks/PhotoView.md
|
||||
- qBittorrent: portainer-stacks/qbittorrent.md
|
||||
- Samba: portainer-stacks/samba.md
|
||||
- TZ="${TZ-Europe/Amsterdam}": portainer-stacks/Swag.md
|
||||
- Swag: portainer-stacks/Swag.md
|
||||
- TasmoBackup: portainer-stacks/TasmoBackup.md
|
||||
- Uptime-Kuma: portainer-stacks/uptime-kuma.md
|
||||
- VSCode: portainer-stacks/VSCode.md
|
||||
|
Loading…
x
Reference in New Issue
Block a user