# Local development database: docker compose up -d --wait # PostgreSQL is published on the loopback address only, and the credentials # match SUMMER_DATABASE__DSN in .env. services: postgres: image: postgres:16 environment: POSTGRES_USER: summer POSTGRES_PASSWORD: summer POSTGRES_DB: demo ports: - "127.0.0.1:54320:5432" volumes: - pgdata:/var/lib/postgresql/data healthcheck: test: ["CMD-SHELL", "pg_isready -U summer -d demo"] interval: 2s timeout: 3s retries: 30 volumes: pgdata: