version: "3" services: postgres: image: ankane/pgvector:latest environment: POSTGRES_USER: agpt_user POSTGRES_PASSWORD: pass123 POSTGRES_DB: agpt_local PGUSER: 5432 healthcheck: test: pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB interval: 10s timeout: 5s retries: 5 ports: - "5432:5432"