services:
  postgres:
    image: postgres:16
    ports:
      - 55432:5432
    volumes:
      - ./src/ents/cluster.sql:/docker-entrypoint-initdb.d/cluster.sql
    env_file: .env
    environment:
      PGPORT: 5432
      POSTGRES_PASSWORD: postgres
    healthcheck:
      test: "pg_isready -U postgres"
      interval: 1s
      timeout: 20s
      retries: 10
