mirror of
https://github.com/RockChinQ/QChatGPT.git
synced 2024-11-16 11:42:44 +08:00
deploy: 添加docker-compose.yaml
This commit is contained in:
parent
3bfce8ab51
commit
a2fc726372
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -27,6 +27,5 @@ test_*
|
|||
venv/
|
||||
hugchat.json
|
||||
qcapi
|
||||
/*.yaml
|
||||
claude.json
|
||||
bard.json
|
18
docker-compose.yaml
Normal file
18
docker-compose.yaml
Normal file
|
@ -0,0 +1,18 @@
|
|||
version: "3"
|
||||
|
||||
services:
|
||||
qchatgpt:
|
||||
image: rockchin/qchatgpt:latest
|
||||
volumes:
|
||||
- ./config.py:/QChatGPT/config.py
|
||||
- ./banlist.py:/QChatGPT/banlist.py
|
||||
- ./cmdpriv.json:/QChatGPT/cmdpriv.json
|
||||
- ./sensitive.json:/QChatGPT/sensitive.json
|
||||
- ./tips.py:/QChatGPT/tips.py
|
||||
# 目录映射
|
||||
- ./plugins:/QChatGPT/plugins
|
||||
- ./scenario:/QChatGPT/scenario
|
||||
- ./temp:/QChatGPT/temp
|
||||
- ./logs:/QChatGPT/logs
|
||||
restart: always
|
||||
# 根据具体环境配置网络
|
Loading…
Reference in New Issue
Block a user