rengine
rengine copied to clipboard
Add flower install and expose port 5555
fix #1042
https://docs.celeryq.dev/en/latest/userguide/monitoring.html
https://medium.com/featurepreneur/flower-celery-monitoring-tool-50fba1c8f623
Flower
A flower is a web-based tool for monitoring and administrating Celery clusters. It has a UI that monitors all the workers on celery. It gives clear statistics on the active tasks, processed tasks showing whether the task was successful or not, and also tells the load average of the tasks. It also maintains the name of the task, the arguments, the result, and the time taken to complete the task.
Flower is not started by default
You need to go inside the celery container and launch flower manually
docker exec -it rengine_celery /usr/bin/bash
root@e76c97c4be38:/usr/src/app# celery flower
Maybe we could enable it by default to give the facility to kill worker when needed ?
@psyray there seems to be a conflict. please resolve.
@psyray there seems to be a conflict. please resolve.
Resolved.
Do you think i need to restrict the port to 127.0.0.1 ?
Is this not on the roadmap for 2.1.0 anymore?