chore: add env_file: stack.env to all compose services

Portainer git-stack deployments require an explicit env_file reference
in the compose file to load variables from the repo's stack.env.
Adds env_file: [stack.env] before every service-level environment:
block across all 10 stacks.
This commit is contained in:
ginnoir
2026-06-04 22:11:51 -05:00
parent 441e1ee272
commit 1e2970d220
10 changed files with 88 additions and 0 deletions
+6
View File
@@ -14,6 +14,8 @@ services:
pull_policy: ${FAMAPP_PULL_POLICY:-always}
restart: unless-stopped
networks: [famapp, edge]
env_file:
- stack.env
environment:
NODE_ENV: production
AUTH_URL: ${AUTH_URL}
@@ -48,6 +50,8 @@ services:
image: postgres:16-alpine
restart: unless-stopped
networks: [famapp]
env_file:
- stack.env
environment:
POSTGRES_USER: ${FAMAPP_DB_USER}
POSTGRES_PASSWORD: ${FAMAPP_DB_PASSWORD}
@@ -66,6 +70,8 @@ services:
command: server /data --console-address ":9003"
restart: unless-stopped
networks: [famapp]
env_file:
- stack.env
environment:
MINIO_ROOT_USER: ${famapp_MINIO_ROOT_USER}
MINIO_ROOT_PASSWORD: ${famapp_MINIO_ROOT_PASSWORD}