.env files moved to the backed-up, non-source-controlled data dir
alongside each app's other state. immich and authentik keep a
symlink instead, since their compose.yml relies on ${VAR}
interpolation which Compose only resolves from a .env next to the
compose file (or via --env-file), not from the env_file: directive.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DPXhxhLUopnuDm3dWeHd5C
20 lines
420 B
YAML
20 lines
420 B
YAML
services:
|
|
cloudflare-ddns:
|
|
image: favonia/cloudflare-ddns:1
|
|
network_mode: host
|
|
restart: unless-stopped
|
|
user: "1000:1000"
|
|
read_only: true
|
|
cap_drop: [all]
|
|
env_file:
|
|
- /mnt/storage/apps/cloudflare-ddns/.env
|
|
environment:
|
|
- DOMAINS=wampler.us
|
|
- PROXIED=true
|
|
- IP6_PROVIDER=none
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 64M
|
|
cpus: '0.1'
|