fix(compose): make env files optional so hosted deploys work
env_file: ./backend/.env was a hard failure when the file is absent, which is always the case on Dokploy and similar platforms that inject env vars rather than committing a .env. Both backend/.env and the compose-root .env are now optional sources, root last so hosted values win. Secrets deliberately stay out of environment:, which overrides env_file - a bare name unset on the host silently blanks out the value the file supplied. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
| Repository | open-legal-products/mike |
|---|---|
| Author | Thijs de Zoete <thijsdezoete@gmail.com> |
| Authored | |
| Committed | |
| Parents | b33b47af |
| Stats | 1 file changed , +20 , -10 |
| Part of | Land a self-hosted Mike stack |
Capture this commit into my fork
Download a Markdown prompt that tells Claude how to port this
exact commit into your working tree. Run it via
claude -p < capture-commit-11bd520c.md
from inside the repo you want the change in.