-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcompose.yml
More file actions
64 lines (59 loc) · 1.34 KB
/
compose.yml
File metadata and controls
64 lines (59 loc) · 1.34 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
name: daemon
services:
chat:
build:
context: .
dockerfile: Chat.Dockerfile
restart: on-failure
ports:
- "3001:3001" # id server proxy
- "3002:3002" # mem server proxy
- "6001:6001" # id server
- "6002:6002" # mem server
- "5173:5173" # sveltekit dev server
environment:
- OPENAI_API_KEY=${OPENAI_API_KEY}
networks:
- daemon-network
depends_on:
postgres:
condition: service_healthy
falkordb:
condition: service_healthy
postgres:
image: pgvector/pgvector:0.8.0-pg17
environment:
POSTGRES_USER: ${POSTGRES_USER:-postgres}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-postgres}
POSTGRES_DB: ${POSTGRES_DB:-app}
ports:
- "5432:5432"
volumes:
- postgres-data:/var/lib/postgresql/data
networks:
- daemon-network
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 5s
retries: 5
falkordb:
image: falkordb/falkordb:latest
ports:
- "6379:6379"
- "3000:3000"
volumes:
- falkordb_data:/data
networks:
- daemon-network
healthcheck:
test: ["CMD-SHELL", "redis-cli ping"]
interval: 10s
timeout: 5s
retries: 5
networks:
daemon-network:
driver: bridge
volumes:
postgres-data:
falkordb_data: