Fix cloudflare-ddns env_file path for compose
Use project-relative ./config/cloudflare-ddns/ddns.env so the container loads the rendered token and IP4_DOMAINS (not empty config.json mode).
This commit is contained in:
parent
c130080c52
commit
be8d21ab3d
1 changed files with 3 additions and 14 deletions
|
|
@ -211,21 +211,10 @@ services:
|
||||||
network_mode: host
|
network_mode: host
|
||||||
security_opt:
|
security_opt:
|
||||||
- no-new-privileges:true
|
- no-new-privileges:true
|
||||||
|
# Generated by: ./scripts/render-cloudflare-ddns-env.sh (from secrets/.env)
|
||||||
|
# Path is relative to the compose project dir (/opt/stack).
|
||||||
env_file:
|
env_file:
|
||||||
- path: ${CONFIG_DIR}/cloudflare-ddns/ddns.env
|
- ./config/cloudflare-ddns/ddns.env
|
||||||
required: false
|
|
||||||
environment:
|
|
||||||
TZ: ${TZ}
|
|
||||||
# Fallbacks if ddns.env not rendered yet (prefer secrets via render script)
|
|
||||||
CLOUDFLARE_API_TOKEN: ${CLOUDFLARE_API_TOKEN:-${CLOUDFLAREAPIKEY:-}}
|
|
||||||
IP4_DOMAINS: ${CLOUDFLARE_IP4_DOMAINS:-}
|
|
||||||
IP4_PROVIDER: ${CLOUDFLARE_IP4_PROVIDER:-cloudflare.trace}
|
|
||||||
IP6_PROVIDER: none
|
|
||||||
PROXIED: ${CLOUDFLARE_PROXIED:-false}
|
|
||||||
UPDATE_CRON: ${CLOUDFLARE_UPDATE_CRON:-@every 5m}
|
|
||||||
UPDATE_ON_START: "true"
|
|
||||||
TTL: "1"
|
|
||||||
RECORD_COMMENT: arr-stack cloudflare-ddns
|
|
||||||
|
|
||||||
# ------------------------------------------------------------------- music #
|
# ------------------------------------------------------------------- music #
|
||||||
lidarr:
|
lidarr:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue