auto backup 2026-07-28_22:30:01
This commit is contained in:
@@ -1,26 +1,20 @@
|
||||
services:
|
||||
wireguard:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
image: thrnz/docker-wireguard-pia:latest
|
||||
restart: unless-stopped
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
devices:
|
||||
- /dev/net/tun:/dev/net/tun
|
||||
sysctls:
|
||||
net.ipv4.conf.all.src_valid_mark: "1"
|
||||
environment:
|
||||
PIA_USER: ${PIA_USER}
|
||||
PIA_PASS: ${PIA_PASSWORD}
|
||||
PIA_PF: "true"
|
||||
PIA_DNS: "true"
|
||||
PIA_CONNECT: "true"
|
||||
VPN_PROTOCOL: wireguard
|
||||
DISABLE_IPV6: "yes"
|
||||
AUTOCONNECT: "false"
|
||||
PREFERRED_REGION: ${PIA_SERVER_NAME}
|
||||
TZ: Europe/Paris
|
||||
volumes:
|
||||
- /home/docker/DenGate/pia-manual:/opt/piavpn-manual
|
||||
LOC: belgium
|
||||
USER: ${PIA_USER}
|
||||
PASS: ${PIA_PASSWORD}
|
||||
KEEPALIVE: "25"
|
||||
PORT_FORWARDING: "1"
|
||||
WG_FILES: "1"
|
||||
ports:
|
||||
- 6881:6881
|
||||
- 6881:6881/udp
|
||||
|
||||
Reference in New Issue
Block a user