compose: forward OWNER_EMAIL to the backend container #241

Merged
justin merged 1 commits from compose-forward-owner-email into main 2026-06-09 23:23:00 -04:00
Owner

Follow-up to #240. The backend service env block is an explicit allow-list that omitted OWNER_EMAIL, so setting it in .env never reached the app and the instance had no owner despite the var being set. Adds the passthrough (verified live on prod: backend now reports OWNER_EMAIL=justin@jpaul.me).

Flags a broader gap in the body: AI provider keys + SMTP are similarly not forwarded — a noted follow-up.

🤖 Generated with Claude Code

Follow-up to #240. The backend service env block is an explicit allow-list that omitted `OWNER_EMAIL`, so setting it in `.env` never reached the app and the instance had no owner despite the var being set. Adds the passthrough (verified live on prod: backend now reports `OWNER_EMAIL=justin@jpaul.me`). Flags a broader gap in the body: AI provider keys + SMTP are similarly not forwarded — a noted follow-up. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
justin added 1 commit 2026-06-09 23:22:59 -04:00
The instance-owner feature reads OWNER_EMAIL, but the backend service's
environment block is an explicit allow-list that didn't include it — so setting
it in .env never reached the app (is_instance_owner always saw "" → no owner).
Add the passthrough.

NOTE: the same allow-list omits the AI provider keys (ANTHROPIC_API_KEY,
OPENAI_*, XAI_*, OLLAMA_*) and SMTP settings, so those documented env vars also
don't currently reach the backend on this deployment. Worth a follow-up
(forward them explicitly, or switch the service to env_file) so .env actually
drives all configuration per the twelve-factor rule.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Justin Paul <justin@jpaul.me>
justin merged commit 2712ae469b into main 2026-06-09 23:23:00 -04:00
justin deleted branch compose-forward-owner-email 2026-06-09 23:23:00 -04:00
Sign in to join this conversation.