diff --git a/apps/cloudflare-ddns/config.json b/apps/cloudflare-ddns/config.json new file mode 100644 index 00000000..395c3ec4 --- /dev/null +++ b/apps/cloudflare-ddns/config.json @@ -0,0 +1,40 @@ +{ + "$schema": "../schema.json", + "name": "Cloudflare DDNS", + "available": true, + "exposable": false, + "port": 22222, + "no_gui": true, + "id": "cloudflare-ddns", + "tipi_version": 1, + "version": "3.3.0", + "categories": [ + "network" + ], + "description": "Cloudflare DDNS is a Docker image that update DNS records on Cloudflare on schedule.", + "short_desc": "Update DNS records on Cloudflare.", + "author": "Joshua Avalon", + "source": "https://github.com/joshuaavalon/docker-cloudflare", + "form_fields": [ + { + "type": "fqdn", + "label": "Domain", + "max": 50, + "min": 3, + "required": true, + "env_variable": "CF_DNS__DOMAINS_0__NAME" + }, + { + "type": "password", + "label": "Token", + "max": 40, + "min": 40, + "required": true, + "env_variable": "CF_DNS__AUTH__SCOPED_TOKEN" + } + ], + "supported_architectures": [ + "arm64", + "amd64" + ] +} \ No newline at end of file diff --git a/apps/cloudflare-ddns/docker-compose.yml b/apps/cloudflare-ddns/docker-compose.yml new file mode 100644 index 00000000..56419e1a --- /dev/null +++ b/apps/cloudflare-ddns/docker-compose.yml @@ -0,0 +1,16 @@ +version: "3.9" +services: + cloudflare-ddns: + container_name: cloudflare-ddns + image: ghcr.io/joshuaavalon/cloudflare-ddns:3.3.0 + environment: + - CF_DNS__AUTH__SCOPED_TOKEN=${CF_DNS__AUTH__SCOPED_TOKEN} + #- CF_DNS__CRON="*/5 * * * *" + - CF_DNS__DOMAINS_0__NAME=${CF_DNS__DOMAINS_0__NAME} + - CF_DNS__DOMAINS_0__PROXIED=false #true + #- CF_DNS__LOG_LEVEL=info + - CF_DNS__LOG_TYPE=json #Set to json for JSON log output. + #- CF_DNS__TIMEOUT 5000 #Timeout for network request. Disable if timeout <= 0. + restart: unless-stopped + networks: + - tipi_main_network diff --git a/apps/cloudflare-ddns/metadata/description.md b/apps/cloudflare-ddns/metadata/description.md new file mode 100644 index 00000000..9e04e34b --- /dev/null +++ b/apps/cloudflare-ddns/metadata/description.md @@ -0,0 +1,5 @@ +# Cloudflare DDNS + +Cloudflare DDNS is a Docker image that update DNS records on Cloudflare on schedule. + + diff --git a/apps/cloudflare-ddns/metadata/logo.jpg b/apps/cloudflare-ddns/metadata/logo.jpg new file mode 100644 index 00000000..8f3b16fa Binary files /dev/null and b/apps/cloudflare-ddns/metadata/logo.jpg differ