A simple system to run jobs in Python in containers
Technologies:
- Python 3.7
- Celery 3.1.1
- RabbitMQ
- Flower
- Docker & docker compose
Clone repo
git clone https://github.com/leonard-henriquez/simple-job-queue
Make sure you have Docker Compose installed on your computer
Start the job queue system (RabbitMQ) with:
docker-compose up
Then open the web UI (Flower) to monitor the system
Finally add new jobs to the queue:
# First tell indicate where is the broker
export CELERY_BROKER_URL=amqp://admin:mypass@127.0.0.1:5672
export CELERY_RESULT_BACKEND=amqp://admin:mypass@127.0.0.1:5672
# Then launch tasks
python launch_tasks.py
Please open an issue for support.
Please contribute using Github Flow. Create a branch, add commits, and open a pull request.