Add env_file configuration for celery service in Docker Compose
This commit is contained in:
parent
8ef2c6c310
commit
fc2cd08b26
1 changed files with 1 additions and 0 deletions
|
@ -24,6 +24,7 @@ services:
|
||||||
command: uv run celery -A musik worker
|
command: uv run celery -A musik worker
|
||||||
environment:
|
environment:
|
||||||
CELERY_BROKER_URL: amqp://rabbitmq:5672//
|
CELERY_BROKER_URL: amqp://rabbitmq:5672//
|
||||||
|
env_file: stack.env
|
||||||
depends_on:
|
depends_on:
|
||||||
- rabbitmq
|
- rabbitmq
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue