Skip to content
Docker-Compose template for orchestrating a Flask app with a Celery queue using Redis
Python Dockerfile
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows Update and rename pythonpackage.yml to build.yml Sep 3, 2019
api Update requirements.txt Sep 3, 2019
celery-queue Upgraded Celery Nov 11, 2018
.gitignore added gitignore Sep 7, 2017 README update Dec 19, 2018
docker-compose.yml Upgraded Celery Nov 11, 2018

Docker Flask Celery Redis

A basic Docker Compose template for orchestrating a Flask application & a Celery queue with Redis


git clone

Build & Launch

docker-compose up -d --build

This will expose the Flask application's endpoints on port 5001 as well as a Flower server for monitoring workers on port 5555

To add more workers:

docker-compose up -d --scale worker=5 --no-recreate

To shut down:

docker-compose down

To change the endpoints, update the code in api/

Task changes should happen in queue/

adapted from

You can’t perform that action at this time.