This projects shows an example of configuration django with celery.
Everything runs inside Docker containers.
More details about this configuration can be found here.
Django, celery and more, all dockerized
License: MIT License
This projects shows an example of configuration django with celery.
Everything runs inside Docker containers.
More details about this configuration can be found here.
Hi Justyna,
Thanks for your sharing and the tutorial which is very helpful! I want to ask how to add in flower monitor, I did the addition as this in docker-compose.yml, but it's not working,
flower:
image: jcalazan/django
environment:
- DATABASE_HOST=db
- BROKER_URL=amqp://guest:guest@rabbit//
command: bash -c "cd myproject && celery flower -A myproject --port=5555"
volumes:
- .:/app
ports:
- "5555:5555"
links:
- db:db
- rabbitmq:rabbit
and I add flower==0.8.2
in the requirements.txt
if I use $docker-compose ps
the status is Exit 1
, the container could not build up. Could you please help me about this question? Thank you very much!
Best,
Lingling7
Hi, Some minor correction for the tutorial:
The endpoint is located on the ip reported by:
boot2docker ip
with port 8000
Not necessarily on 127.0.0.1:8000
regards,
pd: I've found the tutorial amazing thus expecting to be a reference.
I have some scheduler tasks, so I need celery beat to manage them. Like below:
Only run celery -A myproject.celeryconf beat
in one worker, but run celery worker -A myproject.celeryconf -Q default -n default@%h
in multiple workers.
How to write the run_celery.sh
or use other strategies to accomplish it?
Hi, I think is better if you use compose instead of fig. Fig is deprecated and brings some problems on Mac.
Excelent tutorial
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.