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:
1 parent
39b26e68d1
commit
5c8b108f2b
2 files changed
-9
No files matched your search
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user