
# Development override — only starts PostgreSQL
# Run apps locally with: pnpm dev

services:
  postgres:
    image: postgres:16-alpine
    environment:
      POSTGRES_DB: nobelauto
      POSTGRES_USER: nobel
      POSTGRES_PASSWORD: secret
    volumes:
      - pgdata-dev:/var/lib/postgresql/data
    ports:
      - '5433:5432'
    healthcheck:
      test: ['CMD-SHELL', 'pg_isready -U nobel -d nobelauto']
      interval: 5s
      timeout: 5s
      retries: 10

volumes:
  pgdata-dev:
