A basic Docker Compose template for orchestrating a Flask application & a Celery queue with RabbitMQ.
git clone https://github.com/ChenYuTingJerry/flask-celery-rabbitmq.git
docker-compose up --build
To shut down:
docker-compose down
To change the endpoints, update the code in api/app.py
Task changes should happen in celery-queue/{module}/tasks.py