# POC infrastructure for jobhunt-platform. # Only the postgres service is defined here; app services are run locally for now. services: postgres: image: postgres:16 container_name: jobhunt-postgres environment: POSTGRES_USER: jobhunt POSTGRES_PASSWORD: jobhunt POSTGRES_DB: jobhunt ports: - "5433:5432" volumes: - jobhunt_pgdata:/var/lib/postgresql/data healthcheck: test: ["CMD-SHELL", "pg_isready -U jobhunt -d jobhunt"] interval: 5s timeout: 3s retries: 10 api-test: build: context: . dockerfile: apps/api/Dockerfile.test environment: DATABASE_URL: postgresql://jobhunt:jobhunt@postgres:5432/jobhunt depends_on: postgres: condition: service_healthy restart: "no" volumes: jobhunt_pgdata: name: jobhunt_pgdata