Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kdpuvvadi/cf-ddns
Lightweight Docker image for cloudflare DDNS
https://github.com/kdpuvvadi/cf-ddns
cloudflare ddns ddns-client ddns-script docker docker-compose
Last synced: 8 days ago
JSON representation
Lightweight Docker image for cloudflare DDNS
- Host: GitHub
- URL: https://github.com/kdpuvvadi/cf-ddns
- Owner: kdpuvvadi
- License: mit
- Created: 2022-12-27T10:58:28.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-26T10:59:07.000Z (over 1 year ago)
- Last Synced: 2024-12-24T07:27:44.406Z (10 days ago)
- Topics: cloudflare, ddns, ddns-client, ddns-script, docker, docker-compose
- Language: Shell
- Homepage:
- Size: 19.5 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Docker Cloudflare DDNS
[![build](https://github.com/kdpuvvadi/cf-ddns/actions/workflows/build.yml/badge.svg)](https://github.com/kdpuvvadi/cf-ddns/actions/workflows/build.yml)
DDNS service for cloudflare
## Creating a Cloudflare API token
To create a CloudFlare API token for your DNS zone go to [https://dash.cloudflare.com/profile/api-tokens](https://dash.cloudflare.com/profile/api-tokens) and follow these steps:
* Click Create Token
* Provide the token a name, for example, cloudflare-ddns
* Grant the token the following permissions:
* `Zone` - `Zone Settings` - `Read`
* `Zone` - `Zone` - `Read`
* `Zone` - `DNS` - `Edit`
* Set the zone resources to:
* Include - All zones## Deployment
```shell
docker run -d --name ddns \
--restart=always \
-e TOKEN=token \
-e DOMAIN=example.com \
-e CNAME=test \
kdpuvvadi/cf-ddns:latest
```With `docker-compose`
```yaml
version: "3"services:
ddns:
container_name: ddns
image: kdpuvvadi/cf-ddns:latest
environment:
TOKEN: 'Token Here'
DOMAIN: 'example.com'
CNAME: 'cname'
restart: unless-stopped
```## LICENSE
Licensed under [MIT](/LICENSE)