deploy: 添加docker-compose.yaml

This commit is contained in:
RockChinQ 2023-09-12 12:50:49 +00:00
parent 3bfce8ab51
commit a2fc726372
2 changed files with 18 additions and 1 deletions

1
.gitignore vendored
View File

@ -27,6 +27,5 @@ test_*
venv/
hugchat.json
qcapi
/*.yaml
claude.json
bard.json

18
docker-compose.yaml Normal file
View 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
# 根据具体环境配置网络