Last active
February 8, 2024 00:35
-
-
Save mallendeo/c8def62d65447a03b5ce286c37890e85 to your computer and use it in GitHub Desktop.
Cloudflared 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.3' | |
services: | |
cloudflared: | |
container_name: cloudflared | |
image: 'cloudflare/cloudflared:latest' | |
command: 'tunnel --no-autoupdate run --token ${CF_TUNNEL_TOKEN}' | |
restart: 'unless-stopped' | |
networks: | |
- apps | |
env_file: | |
- stack.env | |
networks: | |
apps: | |
external: 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
## Get token from https://one.dash.cloudflare.com/ -> Network -> Tunnels | |
CF_TUNNEL_TOKEN=eyJh.............. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment