Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add task monitoring using Flower #1175

Merged
merged 1 commit into from
Mar 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions app/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ factory-boy==3.2.1
Faker==13.15.1
filelock==3.7.1
flake8==5.0.4
flower==1.2.0
freezegun==1.2.1
future==0.18.3
google-api-core==2.10.1
Expand Down
3 changes: 3 additions & 0 deletions app/requirements/req-base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ coreapi
# Celery
Celery

# Flower
flower

# Sentry
raven

Expand Down
20 changes: 20 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,26 @@ services:
- ./app:/app
command: celery -A signals worker -l debug

flower:
build:
context: .
ports:
- "5566:5566"
depends_on:
mailhog:
condition: service_started
database:
condition: service_healthy
elasticsearch:
condition: service_started
rabbit:
condition: service_started
env_file:
- docker-compose/environments/.celery
volumes:
- ./app:/app
command: celery -A signals flower --port=5566

celery_beat:
build:
context: .
Expand Down