GithubHelp home page GithubHelp logo

docker-django-celery's Introduction

Configure django with celery and run everything in containers

This projects shows an example of configuration django with celery.

Everything runs inside Docker containers.

More details about this configuration can be found here.

docker-django-celery's People

Contributors

ilonajulczuk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker-django-celery's Issues

How to add flower in?

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

Tutorial Issue

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.

How to config celery beat task in docker?

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?

Use compose instead of fig

Hi, I think is better if you use compose instead of fig. Fig is deprecated and brings some problems on Mac.
Excelent tutorial

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.