{"id":15357865,"url":"https://github.com/oliversalzburg/docker-cloudflare-dns","last_synced_at":"2025-02-27T04:30:41.270Z","repository":{"id":146804391,"uuid":"609823068","full_name":"oliversalzburg/docker-cloudflare-dns","owner":"oliversalzburg","description":"Updates CloudFlare DNS with IP addresses of running Docker containers.","archived":true,"fork":false,"pushed_at":"2025-01-14T17:40:19.000Z","size":6072,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-02-25T00:53:43.049Z","etag":null,"topics":["cloudflare","cloudflare-dns","dns","docker","docker-labels"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/oliversalzburg.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-05T10:56:42.000Z","updated_at":"2025-01-14T17:40:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"68b7eadd-6668-4594-8560-6e0f3dbdfdcf","html_url":"https://github.com/oliversalzburg/docker-cloudflare-dns","commit_stats":{"total_commits":525,"total_committers":4,"mean_commits":131.25,"dds":"0.24761904761904763","last_synced_commit":"3d2be290b5e444dd15309c1bbff516093313209a"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":"oliversalzburg/nodejs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oliversalzburg%2Fdocker-cloudflare-dns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oliversalzburg%2Fdocker-cloudflare-dns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oliversalzburg%2Fdocker-cloudflare-dns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oliversalzburg%2Fdocker-cloudflare-dns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oliversalzburg","download_url":"https://codeload.github.com/oliversalzburg/docker-cloudflare-dns/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240978709,"owners_count":19887912,"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-dns","dns","docker","docker-labels"],"created_at":"2024-10-01T12:39:22.006Z","updated_at":"2025-02-27T04:30:41.265Z","avatar_url":"https://github.com/oliversalzburg.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-cloudflare-dns\n\n\u003e [!CAUTION]\n\u003e This project probably still works, but I no longer have any use for it myself, and I will not continue to maintain it. Thus, it has been **archived as of 2025-01-14**.\n\nUpdates CloudFlare DNS with IP addresses of running Docker containers.\n\n## Usage\n\n`CLOUDFLARE_API_KEY` needs to have `Edit` permissions for all zones that you want to maintain.\n\n```shell\ndocker run --rm --name cloudflare-dns \\\n    --volume /var/run/docker.sock:/var/run/docker.sock:ro \\\n    --env \"CLOUDFLARE_API_KEY=\u003cyour API key here\u003e\" \\\n    ghcr.io/oliversalzburg/docker-cloudflare-dns:v1.0.0\n```\n\nOutput will guide you from there, if anything is wrong.\n\n### Labels\n\nBehavior is controlled through container labels:\n\n| Label                  | Required | Description                                                     |\n| ---------------------- | -------- | --------------------------------------------------------------- |\n| `'cloudflare.enabled'` | yes      | Set to `'true'` to include this container in DNS updates.       |\n| `'cloudflare.zone'`    | yes      | Specifies the zone in your CloudFlare account to update.        |\n| `'cloudflare.name'`    | no       | Override the record name. Default is the name of the container. |\n\n## Example\n\n```shell\ndocker run --rm --name traefik \\\n    --publish \"8080:8080\" \\\n    --volume /var/run/docker.sock:/var/run/docker.sock:ro \\\n    --label \"cloudflare.enabled=true\" \\\n    --label \"cloudflare.name=ingress\" \\\n    --label \"cloudflare.zone=example.com\" \\\n    traefik:latest \\\n    --api.insecure=true \\\n    --providers.docker=true \\\n    --providers.docker.exposedByDefault=false\n```\n\n## Release Process\n\n```\nnpm version patch --message \"chore: Version bump %s\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foliversalzburg%2Fdocker-cloudflare-dns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foliversalzburg%2Fdocker-cloudflare-dns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foliversalzburg%2Fdocker-cloudflare-dns/lists"}