services: db: image: pgvector/pgvector:pg16 container_name: nalati-postgres restart: unless-stopped environment: POSTGRES_DB: nalati_rag POSTGRES_USER: nalati POSTGRES_PASSWORD: change-this-password ports: - "127.0.0.1:5432:5432" volumes: - nalati_pgdata:/var/lib/postgresql/data healthcheck: test: ["CMD-SHELL", "pg_isready -U nalati -d nalati_rag"] interval: 5s timeout: 3s retries: 10 volumes: nalati_pgdata: