# Local development overlay. For now this only provides the database; # issue #6 extends it with hot-reloading web/api services layered over the # production docker-compose.yml. # # Usage (from the repo root): # docker compose -f deploy/compose/compose.dev.yml up -d db # DATABASE_URL=postgresql://dorfteich:dorfteich@localhost:5434/dorfteich pnpm --filter @dorfteich/api start:dev services: db: image: postgres:17.5-alpine environment: POSTGRES_USER: dorfteich POSTGRES_PASSWORD: dorfteich POSTGRES_DB: dorfteich ports: # 5434 on the host to avoid colliding with other local PostgreSQL instances (5432 system, 5433 wochenplan-staging). - '5434:5432' volumes: - db-data:/var/lib/postgresql/data healthcheck: test: ['CMD-SHELL', 'pg_isready -U dorfteich -d dorfteich'] interval: 5s timeout: 3s retries: 10 volumes: db-data: