-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathdocker-compose-tg.yml
97 lines (91 loc) · 2.24 KB
/
docker-compose-tg.yml
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
services:
copilot:
image: tigergraphml/copilot:latest
platform: linux/amd64
container_name: copilot
build:
context: .
dockerfile: copilot/Dockerfile
ports:
- 8000:8000
depends_on:
- eventual-consistency-service
- chat-history
environment:
LLM_CONFIG: "/code/configs/llm_config.json"
DB_CONFIG: "/code/configs/db_config.json"
LOGLEVEL: "INFO"
USE_CYPHER: "true"
volumes:
- ./configs/:/code/configs
eventual-consistency-service:
image: tigergraphml/ecc:latest
platform: linux/amd64
container_name: eventual-consistency-service
build:
context: .
dockerfile: eventual-consistency-service/Dockerfile
ports:
- 8001:8001
environment:
LLM_CONFIG: "/code/configs/llm_config.json"
DB_CONFIG: "/code/configs/db_config.json"
LOGLEVEL: "INFO"
INIT_EMBED_STORE: "false"
volumes:
- ./configs/:/code/configs
chat-history:
image: tigergraphml/chat-history:latest
platform: linux/amd64
container_name: chat-history
build:
context: chat-history/
dockerfile: Dockerfile
ports:
- 8002:8002
environment:
CONFIG_FILES: "/configs/chat_config.json,/configs/db_config.json"
LOGLEVEL: "INFO"
volumes:
- ./configs/:/configs
# report-service:
# image: tigergraphml/report-service:latest
# platform: linux/amd64
# container_name: report-service
# build:
# context: chat-history/
# dockerfile: Dockerfile
# ports:
# - 8002:8002
# environment:
# CONFIG: "/configs/config.json"
# LOGLEVEL: "INFO"
# volumes:
# - ./configs/:/code/configs
# - ./common:/code/common
ui:
image: tigergraphml/copilot-ui:latest
platform: linux/amd64
container_name: ui
build:
context: copilot-ui
dockerfile: Dockerfile
ports:
- 3000:3000
depends_on:
- copilot
nginx:
container_name: nginx
image: nginx
volumes:
- ./nginx/nginx.conf:/etc/nginx/conf.d/default.conf
ports:
- "80:80"
depends_on:
- ui
- copilot
# tigergraph:
# container_name: tigergraph
# image: tigergraph/community:4.2.0
# ports:
# - "14240:14240"