Docker-compose Shutdown issue in Centos

Docker-compose with django backend when run in CentOS keeps failing after working for sometime. The deployment config is as follows
Frontend: Angular
Backend: Django
Addons: Celery + Rabbitmq

Note: Only Backend service fails while executing while frontend works fine.

The Docker-compose.yml file is as follows. Any insight might be helpful. Thanks in advance:

version: '3'

services:
    backend:
        build: ./Backend/src/
        command: gunicorn compfie2.wsgi --bind 0.0.0.0:9000 --threads 2
        volumes:
            - ./Backend/src:/Backend
        ports:
            - "9000:9000"

    nginx:
        image: nginx:latest
        ports:
            - "8080:8080"
        depends_on:
            - backend

    rabbitmq:
        container_name: "rabbitmq"
        image: rabbitmq:3.8-management-alpine
        ports:
            - '5672:5672'
            - '15672:15672'

    celery:
        build:
            context: ./Backend/src/
        command: celery -A compfie2 worker -l info
        depends_on:
            - rabbitmq
    angular:
        build: ./Frontend/
        ports:
            - "4200:80"

`

I am afraid this is not enough information to get an idea of what might be wrong, especially since this appears to be a custom created image for a custom application.

Please share logs that show the actual error message and the lines surrounding it.

When you write “keeps failing after working for sometime”, you mean it was working with Docker Desktop for Linux before? If yes, with which version did it work and with which version doesn’t it work anymore? Furthermore, I am interested to understand what makes you conclude this behavior is caused by Docker Desktop for Linux and not the application itself.