From 7b4d0243342f53c0dd27d6116d3579b7243a5da1 Mon Sep 17 00:00:00 2001 From: Keith Smith Date: Sat, 10 Jan 2026 09:15:33 -0700 Subject: [PATCH] Add SITE_DOMAIN environment variable to all services Fixes email notification links showing localhost:8000 instead of the actual domain. The SITE_DOMAIN variable is now passed to web, celery-worker, and celery-beat containers so emails include the correct URL. Co-Authored-By: Claude Sonnet 4.5 --- docker-compose.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 9bffddb..6da451b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -74,6 +74,7 @@ services: EMAIL_HOST_PASSWORD: ${EMAIL_HOST_PASSWORD:-} EMAIL_USE_TLS: ${EMAIL_USE_TLS:-True} DEFAULT_FROM_EMAIL: ${DEFAULT_FROM_EMAIL:-noreply@localhost} + SITE_DOMAIN: ${SITE_DOMAIN:-localhost:8000} # Gunicorn GUNICORN_WORKERS: ${GUNICORN_WORKERS:-3} @@ -118,6 +119,7 @@ services: EMAIL_HOST_PASSWORD: ${EMAIL_HOST_PASSWORD:-} EMAIL_USE_TLS: ${EMAIL_USE_TLS:-True} DEFAULT_FROM_EMAIL: ${DEFAULT_FROM_EMAIL:-noreply@localhost} + SITE_DOMAIN: ${SITE_DOMAIN:-localhost:8000} networks: - backend depends_on: @@ -153,6 +155,7 @@ services: EMAIL_HOST_PASSWORD: ${EMAIL_HOST_PASSWORD:-} EMAIL_USE_TLS: ${EMAIL_USE_TLS:-True} DEFAULT_FROM_EMAIL: ${DEFAULT_FROM_EMAIL:-noreply@localhost} + SITE_DOMAIN: ${SITE_DOMAIN:-localhost:8000} networks: - backend depends_on: