+wireguard and +updates to deluge

This commit is contained in:
gregory hendrickson
2023-11-12 03:25:24 -08:00
parent 5b4ed1bbcd
commit 890588729b
3 changed files with 50 additions and 5 deletions

View File

@@ -0,0 +1,27 @@
version: '3'
services:
wireguard:
image: linuxserver/wireguard
container_name: wireguard
cap_add:
- NET_ADMIN
- SYS_MODULE
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
- SERVERURL=${SERVERURL}
- SERVERPORT=${SERVERPORT}
- PEERS=${PEERS}
- INTERNAL_SUBNET=${INTERNAL_SUBNET}
- ALLOWEDIPS=${ALLOWEDIPS}
- DNS=${DNS}
volumes:
- ${CONFIG_DIR}:/config
- /lib/modules:/lib/modules
ports:
- ${SERVERPORT}:${SERVERPORT}/udp
sysctls:
- net.ipv4.conf.all.src_valid_mark=1
restart: unless-stopped

View File

@@ -0,0 +1,9 @@
PUID=1000
GUID=1000
TZ=Los_Angeles
SERVERURL=yoururl.com
SERVERPORT=
PEERS=
INTERNAL_SUBNET=
ALLOWEDIPS=
DNS=