Self-host Cloudflare DDNS with Levelrail
Keeps Cloudflare DNS records pointed at your current public IP address.
- Authorfavonia
- LicenceApache-2.0
- Memory32 MiB
- Archarm64
- Services1
How to self-host Cloudflare DDNS
-
Pull the images
One image is pulled on your server.
Show images
favonia/cloudflare-ddns:1.15.1
-
Create the app
One service starts in a single Compose app.
-
Fill in the secrets
3 settings are preset, you do not have to fill in anything.
-
Open it
Without a domain the app gets an sslip.io address; add --domain SERVICE=HOST to use your own.
Cloudflare DDNS requirements
- Memory
- About 32 MiB
- Architectures
- amd64 image published, arm64 image published
- Ports
- none
- Domain
- Optional, an sslip.io address is used without one
- Settings
- none to fill in
- License
- Apache-2.0, permissive license
- Listed. It is in the catalog but not verified. Back up the data volume before changing an image tag.
Install Levelrail first
On a server with Levelrail running, run the command above, or open the dashboard: Apps, New app, Browse templates, then Cloudflare DDNS. New to Levelrail? Install it on a fresh VPS first.
docker pull ghcr.io/glincker/levelrail:latest Then levelrail-cli login --device. See Getting started and the Cloudflare DDNS docs page.
Deploy Cloudflare DDNS your way
Every format below deploys the same pinned images. Pick the one that fits how you work.
Deploy Cloudflare DDNS from the CLI
levelrail-cli templates deploy cloudflare-ddns --name my-cloudflare-ddns Deploy Cloudflare DDNS with the API
curl -X POST -H "Authorization: Bearer $TOKEN" \
https://levelrail.example.com/api/v1/service-templates/cloudflare-ddns/deploy Cloudflare DDNS configuration
Cloudflare DDNS services
| Service | Image | Ports | Volumes |
|---|---|---|---|
| cloudflare-ddns | favonia/cloudflare-ddns:1.15.1 | none | none |
Cloudflare DDNS environment variables
| Variable | Service | Value |
|---|---|---|
| CLOUDFLARE_API_TOKEN | cloudflare-ddns | Preset by the template |
| DOMAINS | cloudflare-ddns | Preset by the template |
| PROXIED | cloudflare-ddns | Preset by the template |
Ports and volumes
- Ports
- none
- Volumes
- none
Cloudflare DDNS FAQ
How much memory does Cloudflare DDNS need?
The catalog lists about 32 MiB of memory for Cloudflare DDNS.
Does Cloudflare DDNS run on arm64?
For Cloudflare DDNS, an arm64 image is published; amd64 is image published.
What licence is Cloudflare DDNS under?
Cloudflare DDNS is licensed under Apache-2.0, which is permissive, with few conditions on reuse.
Does Cloudflare DDNS need configuration before it starts?
No. The template fills in its own defaults.
Can I deploy Cloudflare DDNS on Dokploy or Dokku?
The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list has an entry with the id cloudflare-ddns for this app, so check that entry as well. Dokku deploys container images with its own commands, so the pinned image favonia/cloudflare-ddns:1.15.1 is what you deploy there.