-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
58 lines (53 loc) · 1.07 KB
/
docker-compose.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
services:
chat2db:
image: shaw001/chat2db-ui
volumes:
- chat2db_data:/root/.chat2db
networks:
- nl2sql
ports:
- 18020:80
depends_on:
- nl2sql-openai-api
nl2sql-openai-api:
image: shaw001/nl2sql-openai-api
networks:
nl2sql:
aliases:
- nl2sql-openai-api
ports:
- 18080:80
depends_on:
- model-openai-api
- schemalink-service-api
model-openai-api:
image: shaw001/model-openai-api
networks:
nl2sql:
aliases:
- model-openai-api
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
schemalink-service-api:
image: shaw001/schemalink-service-api
networks:
nl2sql:
aliases:
- schemalink-service-api
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
volumes:
chat2db_data:
networks:
nl2sql:
driver: bridge