-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (44 loc) · 1.13 KB
/
docker-compose.yml
File metadata and controls
45 lines (44 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
x-logging: &default-logging
driver: json-file
options:
max-size: 10m
max-file: 50
services:
postgres:
restart: always
logging: *default-logging
environment:
POSTGRES_PASSWORD: postgres
image: pgvector/pgvector:0.8.1-pg18
ports:
- 5432:5432
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 5s
retries: 5
server:
restart: always
logging: *default-logging
depends_on:
postgres:
condition: service_healthy
image: ghcr.io/chuckhend/vectorize-server:latest
ports:
- 8080:8080
environment:
OPENAI_API_KEY: ${OPENAI_API_KEY}
CO_API_KEY: ${CO_API_KEY}
VOYAGE_API_KEY: ${VOYAGE_API_KEY}
EMBEDDING_SVC_URL: ${EMBEDDING_SVC_URL:-http://vector-serve:3000/v1}
DATABASE_URL: ${DATABASE_URL:-postgresql://postgres:postgres@postgres:5432/postgres}
RUST_LOG: debug
command: vectorize-server
vector-serve:
restart: always
logging: *default-logging
image: ghcr.io/chuckhend/vector-serve:latest
environment:
HF_API_KEY: ${HF_API_KEY}
ports:
- 3000:3000