services: hunjing-postgres: image: pgvector/pgvector:pg17 container_name: hunjing-postgres restart: unless-stopped environment: POSTGRES_USER: hunjing POSTGRES_PASSWORD: hunjing_dev_password POSTGRES_DB: hunjing ports: - "127.0.0.1:5432:5432" volumes: - hunjing-pgdata:/var/lib/postgresql/data healthcheck: test: ["CMD-SHELL", "pg_isready -U hunjing -d hunjing"] interval: 5s timeout: 3s retries: 12 volumes: hunjing-pgdata: