Files
projects/Dockers/pia-wireguard/docker-compose.example.yml
Bram 1180e9e1b0
Build and Push Docker Images / build-and-push (push) Successful in 1m28s
own wireguard
2026-05-05 21:02:00 +02:00

26 lines
568 B
YAML

services:
piauplink:
build: .
container_name: piauplink
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_PASS}
- PIA_REGIONS=nl_amsterdam,de_berlin
- PIA_PORT_FORWARD=false
volumes:
- ./pia-state:/pia
restart: unless-stopped
whoami_behind_vpn:
image: traefik/whoami:latest
network_mode: service:piauplink
depends_on:
- piauplink
restart: unless-stopped