I’m trying to get celery to work with Django and docker and the building works well but I celery won’t run. Any ideas? Here is are the docker-compose logs -f errors Starting django-celery_redis_1 … done Starting django-celery_db_1 … done Starting django-celery_flower_1 … done Starting django-celery_celery_beat_1 … done Starting django-celery_celery_worker_1 … done Starting django-celery_web_1 … done ..
I am using Celery for excuting various tasks from django. The celery is managed using Supervisor. Rabbitmq is used the broker for celery . Celery and django are inside a single Docker container and broker in another. The entire application is working Docker-compose running in RHEL 7.9. Problem celery is continuously restarting after every 2min ..
Watched many tutorials with dockerize celery + django, did like in the video.I think the problem is in docker-compose file, but i didn’t found the solution.It took to much time, and i couldn’t solve the problem. Dockerfile FROM python:3 ENV PYTHONUNBUFFERED=1 WORKDIR /usr/src/hh_ru_django COPY requirements.txt /usr/src/hh_ru_django/ RUN pip install -r requirements.txt COPY . /usr/src/hh_ru_django docker-compose.yml ..
Celery Beat causes permission error when I try to run the docker containers. This is because the user permissions in Docker file so it seems I configured something wrong there. I tried all possible solutions but the error still showing up. Please help me to figure out what am I doing wrong. Thank you. Here ..
Below is the structure for my app: – anp_tasks – __init__.py – celery.py – tasks.py – platform – webapp – app [entire django project] – manage.py – Dockerfile – requirements.txt – docker-compose.yml Dockerfile contents FROM python:latest LABEL maintainer="Akrogoniaios Technologies Corp." ENV PYTHONUNBUFFERED 1 COPY ./requirements.txt /requirements.txt RUN pip install –upgrade pip RUN ln -s /usr/bin/pip3 ..