Created
January 8, 2025 14:58
-
-
Save TEGRAXD/ef53f2c3bdef39f682d784f46aee8f64 to your computer and use it in GitHub Desktop.
Cloudflared Docker Compose with Networks
This file contains hidden or 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: | |
| cloudflared: | |
| image: cloudflare/cloudflared:latest | |
| container_name: cloudflared | |
| command: tunnel --no-autoupdate run --token yourSecretToken | |
| networks: | |
| - tunnel # Use "tunnel" network that we created. | |
| restart: unless-stopped | |
| networks: | |
| tunnel: # This create a new networks named tunnel. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment