Fixed the wireguard; do not touch it, you bastard
This commit is contained in:
18
docker-compose.yml
Executable file → Normal file
18
docker-compose.yml
Executable file → Normal file
@@ -1,8 +1,9 @@
|
||||
---
|
||||
version: "2.1"
|
||||
services:
|
||||
wireguard:
|
||||
image: linuxserver/wireguard
|
||||
container_name: wireguard_server
|
||||
image: ghcr.io/linuxserver/wireguard
|
||||
container_name: wireguard
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
- SYS_MODULE
|
||||
@@ -10,20 +11,17 @@ services:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=Europe/London
|
||||
- SERVERURL=gerbil.tk #optional
|
||||
- SERVERURL=pukeko.xyz #optional
|
||||
- SERVERPORT=51820 #optional
|
||||
- PEERS=3 #optional
|
||||
- PEERS=1 #optional
|
||||
- PEERDNS=auto #optional
|
||||
- INTERNAL_SUBNET=10.0.0.0
|
||||
- INTERNAL_SUBNET=10.13.13.0 #optional
|
||||
- ALLOWEDIPS=0.0.0.0/0 #optional
|
||||
volumes:
|
||||
- /Red-Vol/Media/Containers/wireguard/config:/config
|
||||
- ./config:/config
|
||||
- /lib/modules:/lib/modules
|
||||
ports:
|
||||
- 51820:51820/udp
|
||||
sysctls:
|
||||
- net.ipv4.conf.all.src_valid_mark=1
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
default:
|
||||
external: true
|
||||
name: gerbil_network
|
||||
|
||||
Reference in New Issue
Block a user