Created
March 23, 2023 02:54
-
-
Save anton-petrov/c67eb8cf5acb268c8d5fe4949eb5fc34 to your computer and use it in GitHub Desktop.
Pritunl vpn docker-compose
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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