fix(dev,resume): drop value-less env entries that blanked stack.env

A bare `- VAR` in `environment:` passes through Portainer's (empty) shell
env and overrides the env_file value with nothing. BookStack's APP_KEY and
DB_PASS, mariadb's MYSQL_* passwords, TZ, and minio_resume's OIDC client
id/secret were all arriving empty; BookStack only worked via its persisted
/config/www/.env. env_file already supplies every one of these, and the
stack.env values were verified to match the live ones before removal.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ginnoirandClaude Opus 5.5 committed 2026-10-26 03:17:36 -05:00
1 parent 39b26e68d1
commit 5c8b108f2b
2 files changed
-9

No files matched your search

-7
View File
@@ -17,7 +17,6 @@ services:
environment:
- PUID=1000
- PGID=1000
- TZ
- DEFAULT_WORKSPACE=/workspace
# Authentik forward_auth at the edge — local password auth disabled via config mount.
volumes:
@@ -51,16 +50,13 @@ services:
environment:
- PUID=1000
- PGID=1000
- TZ
- APP_URL=https://docs.ginnoir.com
- APP_KEY
# Laravel prioritizes DATABASE_URL over DB_*; pin it to BookStack's own MariaDB
# so a stray DATABASE_URL in stack.env can never redirect it.
- DATABASE_URL=mysql://bookstack:bookstack_d3v_pass@mariadb_bookstack:3306/bookstack
- DB_HOST=mariadb_bookstack
- DB_PORT=3306
- DB_USER=bookstack
- DB_PASS
- DB_DATABASE=bookstack
- AUTH_METHOD=oidc
- AUTH_AUTO_INITIATE=false
@@ -88,11 +84,8 @@ services:
environment:
- PUID=1000
- PGID=1000
- TZ
- MYSQL_ROOT_PASSWORD
- MYSQL_DATABASE=bookstack
- MYSQL_USER=bookstack
- MYSQL_PASSWORD
volumes:
- /config/bookstack-db:/config
healthcheck:
-2
View File
@@ -47,8 +47,6 @@ services:
environment:
- MINIO_BROWSER_REDIRECT_URL=https://minio.ginnoir.com
- MINIO_IDENTITY_OPENID_CONFIG_URL=https://auth.ginnoir.com/application/o/minio/.well-known/openid-configuration
- MINIO_IDENTITY_OPENID_CLIENT_ID
- MINIO_IDENTITY_OPENID_CLIENT_SECRET
- MINIO_IDENTITY_OPENID_SCOPES=openid,profile,email
healthcheck:
test: ["CMD-SHELL", "curl -sf http://localhost:9000/minio/health/live || exit 1"]