2021-07-11 15:52:02 -07:00
|
|
|
version: "3"
|
2021-03-01 11:45:53 -08:00
|
|
|
services:
|
|
|
|
wireguard:
|
|
|
|
image: linuxserver/wireguard
|
|
|
|
container_name: wireguard
|
2021-12-20 22:54:13 -08:00
|
|
|
restart: unless-stopped
|
2021-07-11 15:52:02 -07:00
|
|
|
ports:
|
|
|
|
- 53820:51820/udp
|
2021-03-01 11:45:53 -08:00
|
|
|
cap_add:
|
|
|
|
- NET_ADMIN
|
|
|
|
- SYS_MODULE
|
|
|
|
environment:
|
|
|
|
- PUID=1000
|
|
|
|
- PGID=1000
|
|
|
|
- TZ=America/Los_Angeles
|
2021-12-20 22:54:13 -08:00
|
|
|
- PEERS=joey-phone,joey-xps13,maddie-phone
|
2021-08-02 23:20:43 -07:00
|
|
|
- SERVERURL=www.jafner.net
|
2021-03-01 11:45:53 -08:00
|
|
|
- SERVERPORT=53820
|
|
|
|
volumes:
|
2021-07-11 15:52:02 -07:00
|
|
|
- ./config:/config
|
2021-03-01 11:45:53 -08:00
|
|
|
- /lib/modules:/lib/modules
|
|
|
|
sysctls:
|
|
|
|
- net.ipv4.conf.all.src_valid_mark=1
|