-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.chat-v2.yml
More file actions
78 lines (73 loc) · 2.13 KB
/
Copy pathdocker-compose.chat-v2.yml
File metadata and controls
78 lines (73 loc) · 2.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
services:
postgres:
image: postgres:15-alpine
container_name: kiko-v2-postgres
environment:
POSTGRES_USER: almurat
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-almurat}
POSTGRES_DB: kiko_db
ports:
- "127.0.0.1:5432:5432"
volumes:
- postgres_v2_data:/var/lib/postgresql/data
redis:
image: redis:7-alpine
container_name: kiko-v2-redis
ports:
- "127.0.0.1:6379:6379"
llm-gateway:
build:
context: .
dockerfile: kiko-python/Dockerfile
container_name: kiko-v2-llm-gateway
command: ["python", "llm_gateway_server.py"]
environment:
- LLM_GATEWAY_PORT=8101
- OPENAI_API_KEY=${OPENAI_API_KEY}
- DEEPSEEK_API_KEY=${DEEPSEEK_API_KEY}
- GROK_SERVICE_URL=${GROK_SERVICE_URL:-http://host.docker.internal:8000/grok}
- INTERNAL_SERVICE_KEY=${INTERNAL_SERVICE_KEY:-}
- SKIP_AUTH=${SKIP_AUTH:-false}
ports:
- "127.0.0.1:8101:8101"
depends_on:
- redis
tool-runtime:
build:
context: .
dockerfile: kiko-python/Dockerfile
container_name: kiko-v2-tool-runtime
command: ["python", "tool_runtime_server.py"]
environment:
- TOOL_RUNTIME_PORT=8102
- INTERNAL_SERVICE_KEY=${INTERNAL_SERVICE_KEY:-}
- SKIP_AUTH=${SKIP_AUTH:-false}
ports:
- "127.0.0.1:8102:8102"
depends_on:
- redis
chat-api:
build:
context: .
dockerfile: kiko-python/Dockerfile
container_name: kiko-v2-chat-api
command: ["python", "chat_api_server.py"]
environment:
- CHAT_API_PORT=8100
- DATABASE_URL=postgresql://almurat:${POSTGRES_PASSWORD:-almurat}@postgres:5432/kiko_db
- REDIS_URL=redis://redis:6379/0
- LLM_GATEWAY_URL=http://llm-gateway:8101
- TOOL_RUNTIME_URL=http://tool-runtime:8102
- INTERNAL_SERVICE_KEY=${INTERNAL_SERVICE_KEY:-}
- SKIP_AUTH=${SKIP_AUTH:-false}
- PRIVY_APP_ID=${PRIVY_APP_ID:-}
- PRIVY_JWKS_URL=${PRIVY_JWKS_URL:-https://auth.privy.io/api/v1/keys}
ports:
- "127.0.0.1:8100:8100"
depends_on:
- postgres
- redis
- llm-gateway
- tool-runtime
volumes:
postgres_v2_data: