File size: 515 Bytes
a8b0be6
 
 
 
 
 
 
 
8d72767
a8b0be6
8d72767
a8b0be6
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
services:
  db:
    image: pgvector/pgvector:pg16
    container_name: creator-rag-db
    environment:
      POSTGRES_USER: creator
      POSTGRES_PASSWORD: creator
      POSTGRES_DB: creator_rag
    # Host 5433 → container 5432 (host 5432 is taken by a native postgres).
    ports:
      - "5433:5432"
    volumes:
      - pgdata:/var/lib/postgresql/data
    healthcheck:
      test: ["CMD-SHELL", "pg_isready -U creator -d creator_rag"]
      interval: 5s
      timeout: 5s
      retries: 10

volumes:
  pgdata: