Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix: mark the API token env as required, and other env as configurable from the UI

Khiet Tam Nguyen96b9cd3fa543
diff --git a/templates/compose/cloudflare-ddns.yaml b/templates/compose/cloudflare-ddns.yaml
index b44828a708..92f857c41a 100644
--- a/templates/compose/cloudflare-ddns.yaml
+++ b/templates/compose/cloudflare-ddns.yaml
@@ -13,7 +13,7 @@ services:
cap_drop: [all]
security_opt: [no-new-privileges:true]
environment:
- - CLOUDFLARE_API_TOKEN=${CLOUDFLARE_API_TOKEN}
+ - CLOUDFLARE_API_TOKEN=${CLOUDFLARE_API_TOKEN:?}
- DOMAINS=${DOMAINS}
- - PROXIED=false
- - IP6_PROVIDER=none
+ - PROXIED=${PROXIED:-false}
+ - IP6_PROVIDER=${IP6_PROVIDER:-none}