You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
595 B

version: '3'
services:
mongo:
image: mongo:4.4.6
container_name: pritunldb
hostname: pritunldb
volumes:
- ${APPSDIR}/pritunl/db:/data/db
pritunl:
image: goofball222/pritunl:latest
container_name: pritunl
hostname: pritunl
privileged: true
sysctls:
- net.ipv6.conf.all.disable_ipv6=0
links:
- mongo
volumes:
- /etc/localtime:/etc/localtime:ro
ports:
- 1194:1194
- 1194:1194/udp
- 9700:9700
environment:
- TZ=UTC
- MONGODB_URI=mongodb://mongo:27017/pritunl
- REVERSE_PROXY=true