# PostgreSQL for the why-like-word-cannot-use-a lab.
services:
  postgres:
    image: postgres:17.6
    command: ["postgres", "-c", "shared_buffers=512MB", "-c", "work_mem=64MB"]
    environment:
      POSTGRES_PASSWORD: lab
    ports: ["56001:5432"]
    healthcheck:
      test: ["CMD", "pg_isready", "-U", "postgres"]
      interval: 1s
      retries: 30
