Last active
June 1, 2020 08:01
-
-
Save thomasxd24/fd0940f77846c26007a9bcc9b4afdc6e to your computer and use it in GitHub Desktop.
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: | |
pritunl: | |
image: 'jippi/pritunl:latest' | |
privileged: true | |
ports: | |
- '1194:1194/udp' | |
- '1194:1194/tcp' | |
networks: | |
- traefik | |
deploy: | |
labels: | |
- "traefik.enable=true" | |
- "traefik.http.routers.pritunl.rule=Host(`pritunl.thomasxd24.com`)" | |
- "traefik.http.routers.pritunl.entrypoints=websecure" | |
- "traefik.http.routers.pritunl.tls.certresolver=myresolver" | |
- "traefik.http.services.pritunl.loadbalancer.server.port=443" | |
- "traefik.http.services.pritunl.loadbalancer.server.scheme=https" | |
- "traefik.docker.network=traefik" | |
volumes: | |
- 'pritunl_data:/var/lib/pritunl' | |
- 'pritunl_db:/var/lib/mongodb' | |
networks: | |
traefik: | |
external: true | |
volumes: | |
pritunl_data: | |
driver: local | |
pritunl_db: | |
driver: local |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment