Remove print statement from DATABASES configuration and ensure POSTGRES_HOST is set in celery service
This commit is contained in:
parent
3c401d4f7c
commit
d8f60f4017
2 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue