-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
30 lines (30 loc) · 1 KB
/
Copy pathdocker-compose.yaml
File metadata and controls
30 lines (30 loc) · 1 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
version: '3.4'
services:
mirai:
image: lss233/mirai-http:latest
restart: always
environment:
LANG: 'C.UTF-8'
volumes:
- ./mirai/bots:/app/bots
- ./mirai/config:/app/config
- ./mirai/data:/app/data
- ./mirai/plugin-libraries:/app/plugin-libraries
- ./mirai/libs:/app/libs
# - ./mirai/config.json:/app/config.json # 如果你要修改 mcl 的设置,就解除这个注释
chatgpt:
image: lss233/chatgpt-mirai-qq-bot:latest
restart: always
environment:
LANG: 'C.UTF-8'
XPRA_PASSWORD: 'lss233' # XPRA 密码,建议修改
ports:
- 14500:14500
volumes:
- ./config.cfg:/app/config.cfg
# - ./fonts:/app/fonts # 如果你想自定义字体,就解除注释
# - ./presets:/app/presets # 如果你想自定义预设,就解除注释
watchtower: # [可选] 自动更新
image: containrrr/watchtower
volumes: # 如果启动失败,请修改下面这条:
- /var/run/docker.sock:/var/run/docker.sock