Skip to content

Instantly share code, notes, and snippets.

@anton-petrov
Created March 23, 2023 02:54
Show Gist options
  • Save anton-petrov/c67eb8cf5acb268c8d5fe4949eb5fc34 to your computer and use it in GitHub Desktop.
Save anton-petrov/c67eb8cf5acb268c8d5fe4949eb5fc34 to your computer and use it in GitHub Desktop.
Pritunl vpn docker-compose
version: '3'
services:
mongo:
image: mongo:latest
restart: always
container_name: pritunldb
hostname: pritunldb
network_mode: bridge
volumes:
- ./db:/data/db
pritunl:
image: goofball222/pritunl:latest
restart: always
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
- 14422:14422/udp
environment:
- TZ=UTC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment