From bf1bd83661f11cb44b5f2e9fe61b2f94f25d3c6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=82=D0=BE=D1=80=D1=92=D0=B5=20=D0=A1=D1=82=D0=BE=D1=98?= =?UTF-8?q?=D0=B8=D1=99=D0=BA=D0=BE=D0=B2=D0=B8=D1=9B?= Date: Wed, 17 Sep 2025 20:19:06 +0200 Subject: [PATCH] fix(docker): add missing email and auth environment variables to webapp service Email configuration was silently failing because critical environment variables were not being passed from .env to the webapp container, causing magic links to be logged to console instead of sent via email. --- hosting/docker/webapp/docker-compose.yml | 25 ++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/hosting/docker/webapp/docker-compose.yml b/hosting/docker/webapp/docker-compose.yml index 03aec05a6c..c5abc032a9 100644 --- a/hosting/docker/webapp/docker-compose.yml +++ b/hosting/docker/webapp/docker-compose.yml @@ -76,7 +76,28 @@ services: # DEFAULT_ENV_EXECUTION_CONCURRENCY_LIMIT: 100 # DEFAULT_ORG_EXECUTION_CONCURRENCY_LIMIT: 100 # Internal OTEL configuration - INTERNAL_OTEL_TRACE_LOGGING_ENABLED: ${INTERNAL_OTEL_TRACE_LOGGING_ENABLED:-0} + INTERNAL_OTEL_TRACE_LOGGING_ENABLED: ${INTERNAL_OTEL_TRACE_LOGGING_ENABLED:-0} + WHITELISTED_EMAILS: ${WHITELISTED_EMAILS} + ADMIN_EMAILS: ${ADMIN_EMAILS} + AUTH_GITHUB_CLIENT_ID: ${AUTH_GITHUB_CLIENT_ID} + AUTH_GITHUB_CLIENT_SECRET: ${AUTH_GITHUB_CLIENT_SECRET} + + # Email Configuration (required for magic links) + EMAIL_TRANSPORT: ${EMAIL_TRANSPORT} + FROM_EMAIL: ${FROM_EMAIL} + REPLY_TO_EMAIL: ${REPLY_TO_EMAIL} + # Transport-specific configs + RESEND_API_KEY: ${RESEND_API_KEY} + SMTP_HOST: ${SMTP_HOST} + SMTP_PORT: ${SMTP_PORT} + SMTP_SECURE: ${SMTP_SECURE} + SMTP_USER: ${SMTP_USER} + SMTP_PASSWORD: ${SMTP_PASSWORD} + + # Slack & Alert Configuration + ORG_SLACK_INTEGRATION_CLIENT_ID: ${ORG_SLACK_INTEGRATION_CLIENT_ID} + ORG_SLACK_INTEGRATION_CLIENT_SECRET: ${ORG_SLACK_INTEGRATION_CLIENT_SECRET} + ALERT_FROM_EMAIL: ${ALERT_FROM_EMAIL} postgres: image: postgres:${POSTGRES_IMAGE_TAG:-14} @@ -218,4 +239,4 @@ networks: supervisor: name: supervisor webapp: - name: webapp \ No newline at end of file + name: webapp