Skip to content
Advertisement

Django+Celery Module not found error with app installed from git

I’m have a project split on 2 separate apps and both have another shared app as reusable one(i store my models there and install it from git link. So when i run celery worker locally all is working perfect, but if i use docker(with celery in separate image) i got this error

JavaScript

In some reason celery gets improper configuration from django.

celery docker config

JavaScript

celery file in the root of project folder(near settings.py file)

JavaScript

So why celery doesn’t see my app?

Advertisement

Answer

changed config in docker-compose like this:

JavaScript
Advertisement