Docker Community Forums

Share and learn in the Docker community.

Database system was shut down at - Docker

When I run or compose-docker, this error message is displayed;

I do not know what is wrong in my file, I have researched several posts regarding this error in forums, I need a lot of help, already modified my file in several ways and did not find the problem.

docker-compose.yml

version: "3.5"
services:
  kwan:
    image: postgres
    environment:
      - POSTGRES_PASSWORD=root
      - POSTGRES_USER=postgres
      - POSTGRES_DB=POSTGRESQL
    ports:
      - "15432:5432"
    expose:
      - "5432"
    volumes:
      - /home/renatogroffe/Desenvolvimento/Docker-Compose/PostgreSQL:/var/lib/postgresql/data 
    networks:
      - postgres-compose-network


networks: 
  postgres-compose-network:
    driver: bridge