{"id":15659696,"url":"https://github.com/jakejarvis/docker-cloudflare-argo","last_synced_at":"2025-05-05T19:42:32.872Z","repository":{"id":50503603,"uuid":"176990082","full_name":"jakejarvis/docker-cloudflare-argo","owner":"jakejarvis","description":"An intermediary between Cloudflare's Argo tunneling service and your local containers/network.","archived":false,"fork":false,"pushed_at":"2021-11-26T21:44:08.000Z","size":9,"stargazers_count":23,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-30T20:53:35.133Z","etag":null,"topics":["cloudflare","cloudflare-argo","docker","network","tunnel"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/jakejarvis/cloudflare-argo","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jakejarvis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-21T17:05:13.000Z","updated_at":"2024-09-29T06:21:55.000Z","dependencies_parsed_at":"2022-09-09T11:50:30.394Z","dependency_job_id":null,"html_url":"https://github.com/jakejarvis/docker-cloudflare-argo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakejarvis%2Fdocker-cloudflare-argo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakejarvis%2Fdocker-cloudflare-argo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakejarvis%2Fdocker-cloudflare-argo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jakejarvis%2Fdocker-cloudflare-argo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jakejarvis","download_url":"https://codeload.github.com/jakejarvis/docker-cloudflare-argo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252563901,"owners_count":21768543,"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-argo","docker","network","tunnel"],"created_at":"2024-10-03T13:18:16.766Z","updated_at":"2025-05-05T19:42:32.820Z","avatar_url":"https://github.com/jakejarvis.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-cloudflare-argo\n\n[![CI](https://github.com/jakejarvis/docker-cloudflare-argo/actions/workflows/ci.yml/badge.svg)](https://github.com/jakejarvis/docker-cloudflare-argo/actions/workflows/ci.yml)\n![Docker Pulls](https://img.shields.io/docker/pulls/jakejarvis/cloudflare-argo.svg)\n\nA Docker image designed to be an intermediary between your local containers (or anything on your local network) and [Cloudflare's Argo tunneling service](https://www.cloudflare.com/products/argo-tunnel/).\n\n(AKA: A fantastic way to avoid exposing your containers **and** your host to the scary, scary world.)\n\n## Prerequisites\n\nRegistration for Argo is done through the [Cloudflare dashboard](https://dash.cloudflare.com/) (it currently costs $5/month).\n\nAnd, for now, a certificate file (`.pem`) [needs to be obtained via `cloudflared tunnel login`](https://developers.cloudflare.com/argo-tunnel/quickstart/#step-3-login-to-your-cloudflare-account) *before* using the container. This can be done on any computer.\n\n## Configuration\n\nThe following environment variables are required:\n\n- `TUNNEL_HOSTNAME`: The hostname/subdomain of the public-facing zone registered with Cloudflare\n- `TUNNEL_URL`: The backend URL server you want to dig the tunnel to, probably on your local/Docker network\n\n...and your `.pem` file (the login certificate from Cloudflare) needs to be mounted to `/etc/cloudflared/cert.pem` on the Argo container, as shown in the example.\n\n## Usage\n\n```bash\ndocker run -d \\\n           -e \"TUNNEL_HOSTNAME=mytunnel.jarv.is\" \\\n           -e \"TUNNEL_URL=http://localhost:8080\" \\\n           -v \"/Users/jake/config/cert.pem:/etc/cloudflared/cert.pem\" \\\n           jakejarvis/cloudflare-argo:latest\n```\n\nIf building locally, a [`cloudflared` version](https://github.com/cloudflare/cloudflared/releases) can be specified as a build-time argument (e.g. `2021.10.11`; defaults to `latest`):\n\n```bash\ndocker build --build-arg CLOUDFLARED_VERSION=2021.10.5 .\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakejarvis%2Fdocker-cloudflare-argo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjakejarvis%2Fdocker-cloudflare-argo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjakejarvis%2Fdocker-cloudflare-argo/lists"}