chore: point env_file at /mnt/storage/apps for caddy, pia-qbittorrent, cloudflare-ddns
.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
This commit is contained in:
co-authored by
Claude Sonnet 5
parent
509e8440b3
commit
5dd2166a88
+1
-1
@@ -6,7 +6,7 @@ services:
|
|||||||
cap_add:
|
cap_add:
|
||||||
- NET_ADMIN
|
- NET_ADMIN
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- /mnt/storage/apps/caddy/.env
|
||||||
environment:
|
environment:
|
||||||
- PUID=1000
|
- PUID=1000
|
||||||
- PGID=1000
|
- PGID=1000
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ services:
|
|||||||
read_only: true
|
read_only: true
|
||||||
cap_drop: [all]
|
cap_drop: [all]
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- /mnt/storage/apps/cloudflare-ddns/.env
|
||||||
environment:
|
environment:
|
||||||
- DOMAINS=wampler.us
|
- DOMAINS=wampler.us
|
||||||
- PROXIED=true
|
- PROXIED=true
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ services:
|
|||||||
cap_add:
|
cap_add:
|
||||||
- NET_ADMIN
|
- NET_ADMIN
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- /mnt/storage/apps/pia-qbittorrent/.env
|
||||||
environment:
|
environment:
|
||||||
- PUID=1000
|
- PUID=1000
|
||||||
- PGID=1000
|
- PGID=1000
|
||||||
|
|||||||
Reference in New Issue
Block a user