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
+8
View File
@@ -14,6 +14,8 @@ services:
networks: [resume]
volumes:
- /config/resume/postgres:/var/lib/postgresql/data
env_file:
- stack.env
environment:
- POSTGRES_DB=postgres
- POSTGRES_USER=postgres
@@ -35,6 +37,8 @@ services:
- "9004:9001"
volumes:
- /storage1/labdata/resume/minio:/data
env_file:
- stack.env
environment:
- MINIO_ROOT_USER=${MINIO_ROOT_USER}
- MINIO_ROOT_PASSWORD=${MINIO_ROOT_PASSWORD}
@@ -50,6 +54,8 @@ services:
image: ghcr.io/browserless/chromium:latest
restart: unless-stopped
networks: [resume]
env_file:
- stack.env
environment:
- TIMEOUT=10000
- CONCURRENT=10
@@ -71,6 +77,8 @@ services:
condition: service_healthy
chrome:
condition: service_started
env_file:
- stack.env
environment:
- PORT=3000
- NODE_ENV=production