Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 680 Bytes

README.md

File metadata and controls

27 lines (19 loc) · 680 Bytes

Docker Flask Celery Redis

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

Installation

git clone https://github.com/GurjotTatras/celery-demo.git

Build & Launch

docker-compose up -d --build

To add more workers:

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

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

To shut down:

docker-compose down