Docker container gracefully shutting down automatically after a week

I am having an issue related to the Docker container which running a multi stage docker image comprising of nginx and bunch of html files. The problem is, it is shutting down gracefully after running for a week or 2 weeks. The signal it receives is : signal 3 (SIGQUIT) received, shutting down .

The list of containers running:

1a68ecd3b68f   angular-nginx-web    "nginx -g 'daemon of…"   14 hours ago   Up 14 hours   80/tcp, 0.0.0.0:49162->8002/tcp, :::49162->8002/tcp   web
600c7583e1cc   nginx:alpine                                                                 "/docker-entrypoint.…"   14 hours ago   Up 14 hours   0.0.0.0:8000->80/tcp, :::8000->80/tcp                 nginx
fd9c765aedc1   express-node-backend   "docker-entrypoint.s…"   14 hours ago   Up 14 hours   0.0.0.0:49161->8001/tcp, :::49161->8001/tcp           rest

The container name which is gracefully shutting down is web

Docker-compose file:

services:
  nginx:
    container_name: nginx
    image: nginx:alpine
    restart: always
    ports:
      - "8000:80"
    command: nginx -g "daemon off;"
    volumes:
      - ./nginx/production/conf.d/:/etc/nginx/conf.d/
    networks:
      - prod
  web:
    container_name: web
    image: angular-nginx-web
    restart: always
    volumes:
      - ./nginx/web:/etc/nginx/conf.d
      - type: bind 
        source: ./env/production/web_base_settings/settings.json
        target: /usr/share/nginx/html/assets/settings/settings.json
    ports:
      - "8002"
    networks:
      - prod

  rest:
    container_name: rest
    image: 
    restart: always
    env_file:
      - env/production/rest.env
    ports:
      - "8001"
    networks:
      - prod

Dockerfile for angular-nginx-web image:

# Stage 1

# Build target base #
#####################
FROM node:6-alpine AS base
WORKDIR /angular-nginx-web
COPY package*.json  ./
COPY .git/ ./.git/
RUN apk add --no-cache git && \
    npm install
COPY . /angular-nginx-web
RUN npm run build && \
    rm -rf /node_modules

# Stage 2

FROM nginx:alpine as server
WORKDIR /usr/share/nginx/html
RUN rm -rf ./*
COPY --from=base /angular-nginx-web/dist .
ENTRYPOINT ["nginx", "-g", "daemon off;"]

The logs received :

<ip> - - [10/Mar/2022:17:23:57 +0000] "HEAD /assets/misc/connectcheck.txt HTTP/1.0" 200 0 "http://<ip>:8000/angular-web/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36" "10.80.240.47"
2022/03/11 02:12:38 [notice] 1#1: signal 3 (SIGQUIT) received, shutting down
2022/03/11 02:12:38 [notice] 9#9: exiting
2022/03/11 02:12:38 [notice] 7#7: gracefully shutting down
2022/03/11 02:12:38 [notice] 7#7: exiting
2022/03/11 02:12:38 [notice] 7#7: exit
2022/03/11 02:12:38 [notice] 8#8: gracefully shutting down
2022/03/11 02:12:38 [notice] 8#8: exiting
2022/03/11 02:12:38 [notice] 8#8: exit
2022/03/11 02:12:38 [notice] 1#1: signal 17 (SIGCHLD) received from 9
2022/03/11 02:12:38 [notice] 1#1: cache manager process 9 exited with code 0
2022/03/11 02:12:38 [notice] 1#1: signal 29 (SIGIO) received
2022/03/11 02:12:38 [notice] 1#1: signal 17 (SIGCHLD) received from 7
2022/03/11 02:12:38 [notice] 1#1: worker process 7 exited with code 0
2022/03/11 02:12:38 [notice] 1#1: signal 29 (SIGIO) received
2022/03/11 02:12:38 [notice] 1#1: signal 17 (SIGCHLD) received from 8
2022/03/11 02:12:38 [notice] 1#1: worker process 8 exited with code 0
2022/03/11 02:12:38 [notice] 1#1: exit

Can anybody please help. I am relatively new to Docker and finding it hard to figure out the reason for this graceful shutdown.