# PostgreSQL for the checkpoint-interval lab.
services:
  postgres:
    image: postgres:17.6
    environment:
      POSTGRES_PASSWORD: lab
    command: ["postgres", "-c", "max_wal_size=8GB", "-c", "shared_buffers=256MB"]
    ports: ["55500:5432"]
    healthcheck:
      test: ["CMD", "pg_isready", "-U", "postgres"]
      interval: 1s
      retries: 30
