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