Skip to content

killswitch-GUI/docker-flask-celery-redis

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Docker Flask Celery Redis

A basic Docker Compose template for orchestrating a Flask application & a Celery queue using Redis as the backend

Installation

git clone https://github.com/mattkohl/docker-flask-celery-redis

Build & Launch

docker-compose up -d --build

This will expose the Flask application's endpoints on port 5000 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

If you would like to change the endpoints, update the code in api/app.py

Task changes should happen in queue/tasks.py


adapted from https://github.com/itsrifat/flask-celery-docker-scale

About

Docker-Compose template for orchestrating a Flask app with a Celery queue using Redis

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%