Commit 4012636
committed
fix: pass --env-file to docker compose so .env is actually read
docker compose -f infra/docker-compose.yml sets the project directory
to infra/, so it looks for .env in infra/.env (which doesn't exist).
The .env at workspace root was never read — all ${VAR:-default}
substitutions in docker-compose.yml silently used hardcoded defaults.
This is why M87_BOOTSTRAP_KEY always resolved to "m87-dev-key-change-me"
inside the container regardless of what .env contained.
Fix: --env-file .env explicitly points docker compose at the workspace
root .env file.
https://claude.ai/code/session_01DAuwxwQQoyHFHbmumedqob1 parent 227b87a commit 4012636
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
0 commit comments