Files
selfhosted_templates/Template/Stack/pritunl.yml
SelfhostedPro ca1b80feec testing pritunl
2020-07-30 07:39:11 -07:00

38 lines
787 B
YAML

---
version: '2'
services:
mongo:
image: mongo:latest
container_name: pritunldb
hostname: pritunldb
network_mode: bridge
volumes:
- /portainer/AppData/Pritunl/db:/data/db
pritunl:
image: goofball222/pritunl:latest
container_name: pritunl
hostname: pritunl
depends_on:
- mongo
network_mode: bridge
privileged: true
sysctls:
- net.ipv6.conf.all.disable_ipv6=0
links:
- mongo
volumes:
- /etc/localtime:/etc/localtime:ro
ports:
- 80:80
- 443:443
- 1194:1194
- 1194:1194/udp
- 1195:1195/udp
environment:
- TZ=UTC
- REVERSE_PROXY=${REVERSE_PROXY}
- PRITUNL_OPTS=${PRITUNL_OPTS}
- MONGODB_URI=${MONGODB_URI}
- WIREGUARD=${WIREGUARD}