services:
  db:
    image: postgres:15
    container_name: postgres-DB
    ports:
      - "5432:5432"
    environment:
      POSTGRES_USER: ${DB_USER}
      POSTGRES_PASSWORD: ${DB_PASSWORD}
      POSTGRES_DB: prisma
    volumes:
      - pgdata:/var/lib/postgresql/data

volumes:
  pgdata:
