Created
February 23, 2023 16:36
-
-
Save mattstep/0998177de100c23305948b4f61b618fe to your computer and use it in GitHub Desktop.
Example of how to run cloudflared with unms
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
ingress: | |
- service: "https://172.19.0.3:18443" | |
originRequest: | |
noTLSVerify: true |
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
services: | |
unms: | |
container_name: unms | |
image: nico640/docker-unms:latest | |
restart: always | |
ports: | |
- 18080:80 | |
- 18443:443 | |
- 12055:2055/udp | |
environment: | |
- TZ=Australia/Sydney | |
- PUBLIC_HTTPS_PORT=18443 | |
- PUBLIC_WS_PORT=18443 | |
- HTTP_PORT=18080 | |
- SSL_CERT=certificate.crt | |
- SSL_CERT_KEY=private.key | |
volumes: | |
- /srv/unms:/config | |
cloudflared: | |
image: cloudflare/cloudflared:latest | |
command: tunnel --no-autoupdate --config /etc/cloudflared/config.yaml --grace-period 5s --metrics 0.0.0.0:8000 run | |
restart: always | |
environment: | |
- TUNNEL_TOKEN=<YOUR TOKEN GOES HERE> | |
volumes: | |
- /srv/cloudflared:/etc/cloudflared |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment