-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
77 lines (71 loc) · 1.6 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
version: '3.8'
services:
ai_db:
container_name: ai_db_cn
image: postgres:latest
environment:
TZ: Asia/Shanghai
POSTGRES_USER: root
POSTGRES_PASSWORD: dW7yV6gN6mR3
POSTGRES_DB: oneapi
PGDATA: /var/lib/postgresql/data/pgdata
ports:
- "5432:5432"
networks:
- lan
volumes:
- /var/ai/psql/data:/var/lib/postgresql/data/pgdata
restart: always
logging:
driver: "json-file"
options:
max-size: "200k"
max-file: "10"
ai_newapi:
container_name: ai_newapi_cn
image: calciumion/new-api:latest
networks:
- lan
depends_on:
- ai_db
ports:
- "3008:3000"
environment:
TZ: Asia/Shanghai
SQL_DSN: postgres://root:dW7yV6gN6mR3@ai_db:5432/oneapi
volumes:
- /var/ai/newapi/data:/data
restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: "200k"
max-file: "10"
ai_openwebui:
container_name: ai_openwebui_cn
image: ghcr.nju.edu.cn/open-webui/open-webui:main
volumes:
- /var/ai/openwebui/data:/app/backend/data
ports:
- "3001:8080"
environment:
- HF_ENDPOINT=https://hf-mirror.com/
restart: always
logging:
driver: "json-file"
options:
max-size: "200k"
max-file: "10"
ai_nextchat:
container_name: ai_nextchat_cn
image: yidadaa/chatgpt-next-web
ports:
- "3002:3000"
restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: "200k"
max-file: "10"
networks:
lan: