removes flower and updates celery>5

This commit is contained in:
msramalho
2024-10-17 13:13:06 +01:00
parent 94f7be3fd8
commit 3ba20d2473
5 changed files with 92 additions and 77 deletions

View File

@@ -63,17 +63,4 @@ services:
test: ["CMD", "redis-cli", "-a", "${REDIS_PASSWORD}", "ping"]
interval: 30s
timeout: 10s
retries: 3
# dashboard service will only launch the dashboard if "--profile flower" is passed to docker compose; or if explicitly called "docker compose up dashboard"
dashboard:
<<: *base-setup
profiles:
- flower
command: ["flower", "--app=worker.celery", "--port=5555", "--broker", *broker-url, "--basic_auth=${FLOWER_USERNAME}:${FLOWER_PASSWORD}"]
ports:
- 5556:5555
depends_on:
- web
- redis
- worker
retries: 3