From d8f60f40179c2972d784c18df9601acd697ffdaf Mon Sep 17 00:00:00 2001 From: "Edgar P. Burkhart" Date: Sat, 14 Jun 2025 18:03:35 +0200 Subject: [PATCH] Remove print statement from DATABASES configuration and ensure POSTGRES_HOST is set in celery service --- compose.yaml | 1 + musik/settings.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/compose.yaml b/compose.yaml index ab50ecb..0510259 100644 --- a/compose.yaml +++ b/compose.yaml @@ -24,6 +24,7 @@ services: command: uv run celery -A musik worker environment: CELERY_BROKER_URL: amqp://rabbitmq:5672// + POSTGRES_HOST: postgres env_file: stack.env depends_on: - rabbitmq diff --git a/musik/settings.py b/musik/settings.py index 3ec7bc7..b12b987 100644 --- a/musik/settings.py +++ b/musik/settings.py @@ -91,7 +91,6 @@ DATABASES = { "PASSWORD": os.getenv("POSTGRES_PASSWORD"), } } -print(DATABASES) # Password validation # https://docs.djangoproject.com/en/5.2/ref/settings/#auth-password-validators