{"id":15715610,"url":"https://github.com/mwdle/cloudflaretunnelconfig","last_synced_at":"2026-05-09T06:09:50.352Z","repository":{"id":253355778,"uuid":"843257326","full_name":"mwdle/CloudflareTunnelConfig","owner":"mwdle","description":"A sample Docker Compose file and brief guide for Cloudflare Zero Trust Tunnels.","archived":false,"fork":false,"pushed_at":"2024-08-20T06:45:55.000Z","size":317,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T20:18:04.701Z","etag":null,"topics":["cloudflare","cloudflare-tunnel","cloudflare-tunnels","configuration-files","docker","docker-compose","guide"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mwdle.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-16T05:47:22.000Z","updated_at":"2025-03-01T12:00:14.000Z","dependencies_parsed_at":"2024-08-20T08:47:29.666Z","dependency_job_id":"4993994d-90d2-4cdf-9004-87597a162477","html_url":"https://github.com/mwdle/CloudflareTunnelConfig","commit_stats":null,"previous_names":["mwdle/cloudflaretunnelconfig"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mwdle%2FCloudflareTunnelConfig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mwdle%2FCloudflareTunnelConfig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mwdle%2FCloudflareTunnelConfig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mwdle%2FCloudflareTunnelConfig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mwdle","download_url":"https://codeload.github.com/mwdle/CloudflareTunnelConfig/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246372743,"owners_count":20766635,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloudflare","cloudflare-tunnel","cloudflare-tunnels","configuration-files","docker","docker-compose","guide"],"created_at":"2024-10-03T21:42:09.315Z","updated_at":"2026-05-09T06:09:50.347Z","avatar_url":"https://github.com/mwdle.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cloudflare Tunnel Docker Compose Configuration\n\nA sample Docker Compose file and brief guide for Cloudflare Zero Trust Tunnels.\n\n## Table of Contents\n\n- [Description](#cloudflare-tunnel-docker-compose-configuration)\n- [Getting Started](#getting-started)\n- [License](#license)\n- [Disclaimer](#disclaimer)\n\n## Getting Started\n\n1. Clone the repository:\n\n   ```shell\n   git clone https://github.com/mwdle/CloudflareTunnelConfig.git\n   ```\n\n2. Copy `.env.example` to `.env` and configure the properties for your environment.\n3. Open a terminal in the directory containing the compose file.\n4. Create a docker network for the container:\n\n   ```shell\n   docker network create CloudflareTunnel\n   ```\n\n5. Start the container:\n\n   ```shell\n   docker compose up -d\n   ```\n\n6. Attach other containers to the CloudflareTunnel network you created earlier by executing the following:\n\n   ```shell\n   docker network connect CloudflareTunnel \u003cCONTAINER_NAME\u003e\n   ```\n\n7. Configure a tunnel with a service URL that is the name of the container you want to tunnel:  \n   ![Cloudflare Dashboard Tunnel configuration](images/TunnelConfiguration.png)\n8. If using a reverse proxy, simply use the name of your reverse proxy container, add the Origin Server Name, HTTP Host Header and HTTP/2 like in the following example:  \n   ![Cloudflare Dashboard Tunnel configuration for reverse proxy](images/TunnelConfigurationReverseProxy.png)\n\nYour container should be up and running and your tunnels should be accessible according to your configuration. Attach your reverse proxy container to the previously created Docker Network and configure it accordingly.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n## Disclaimer\n\nThis repository is provided as-is and is intended for informational and reference purposes only. The author assumes no responsibility for any errors or omissions in the content or for any consequences that may arise from the use of the information provided. Always exercise caution and seek professional advice if necessary.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmwdle%2Fcloudflaretunnelconfig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmwdle%2Fcloudflaretunnelconfig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmwdle%2Fcloudflaretunnelconfig/lists"}