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

celery flower service added #366

Merged
merged 8 commits into from
Sep 25, 2024
Merged

celery flower service added #366

merged 8 commits into from
Sep 25, 2024

Conversation

deepakdinesh1123
Copy link
Contributor

No description provided.

done

echo 'Starting flower'
celery -A ${PROJECT_NAME} flower --port=5555 --broker=redis://redis:6379/0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@deepakdinesh1123
do we need to pass broker explicitly over here?
I think it will take the broker URL from CELERY_BROKER_URL settings variable

- postgres
- redis
- celery
- celery_beat
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can remove celery_beat depedency

- "5555:5555"
env_file:
- .env
volumes:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we run docker-compose down and then docker-compose up, the previous Flower data is lost. We need to use persistent volume to retain the data.

@shahharsh176 shahharsh176 merged commit 121fc45 into main Sep 25, 2024
3 checks passed
@shahharsh176 shahharsh176 deleted the feat/celery_flower branch September 25, 2024 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants