# Local development database only. # The production stack (web + worker) lives in docker-compose.yml; this file is # separate so `docker compose -f docker-compose.dev.yml up -d` never touches it. # # Start: docker compose -f docker-compose.dev.yml up -d # Stop: docker compose -f docker-compose.dev.yml down # Reset: docker compose -f docker-compose.dev.yml down -v services: db: image: postgres:18 container_name: podcast-distribution-ai-db restart: unless-stopped environment: POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres POSTGRES_DB: podcast-distribution-ai ports: # 5432-5442 are in use by other local projects; 5443 keeps this isolated. - "5443:5432" volumes: # PG18+ images manage major-version subdirs; mount here, not at /data. - pgdata:/var/lib/postgresql healthcheck: test: ["CMD-SHELL", "pg_isready -U postgres -d podcast-distribution-ai"] interval: 5s timeout: 5s retries: 10 volumes: pgdata: