services:
  postgres:
    image: postgres:13-alpine
    command: "-c wal_level=logical -c max_prepared_transactions=10"
    healthcheck:
      test: "pg_isready -p 5432 -U postgres"
      start_period: 20s
      interval: 1s
      timeout: 10s
      retries: 40
    ports:
      - "55432:5432"
    environment:
      - POSTGRES_DB=postgres
      - POSTGRES_USER=postgres
      - POSTGRES_PASSWORD=postgres
