mirror of
https://git.korhonen.cc/FunctionalHacker/dotfiles.git
synced 2024-11-08 13:10:37 +00:00
23 lines
506 B
YAML
23 lines
506 B
YAML
version: "2.1"
|
|
services:
|
|
wireguard:
|
|
image: linuxserver/wireguard
|
|
container_name: wireguard
|
|
cap_add:
|
|
- NET_ADMIN
|
|
- SYS_MODULE
|
|
environment:
|
|
- TZ=Europe/Helsinki
|
|
- PEERS=4
|
|
- SERVERURL=korhonen.cc
|
|
- SERVERPORT=48574
|
|
- INTERNAL_SUBNET=10.200.200.0/24
|
|
volumes:
|
|
- /docker/wireguard:/config
|
|
- /lib/modules:/lib/modules
|
|
ports:
|
|
- 48574:51820/udp
|
|
sysctls:
|
|
- net.ipv4.conf.all.src_valid_mark=1
|
|
restart: unless-stopped
|