Update work with env variables

This commit is contained in:
Dmitry Bikulov
2026-08-27 11:19:12 +03:00
parent bfb01eab25
commit 13a4f10a5d
14 changed files with 118 additions and 69 deletions
+20
View File
@@ -0,0 +1,20 @@
services:
wireguard:
image: lscr.io/linuxserver/wireguard:latest
container_name: wireguard
restart: unless-stopped
cap_add:
- NET_ADMIN
- SYS_MODULE
volumes:
- ./data/wireguard:/config
ports:
- 51820:51820/udp
sysctls:
- net.ipv4.conf.all.src_valid_mark=1
- net.ipv4.ip_forward=1
networks:
proxy:
name: proxy
external: true
+10
View File
@@ -0,0 +1,10 @@
WIREGUARD_HOST=
PUID=1000
PGID=1000
TZ="Europe/Moscow"
SERVERURL=${WIREGUARD_HOST}
SERVERPORT=51820
PEERS=100
PEERDNS=77.88.8.8
INTERNAL_SUBNET=10.100.100.0