diff --git a/.gitignore b/.gitignore index 4dda62f3..7fd66d8c 100644 --- a/.gitignore +++ b/.gitignore @@ -27,6 +27,5 @@ test_* venv/ hugchat.json qcapi -/*.yaml claude.json bard.json \ No newline at end of file diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 00000000..f2dc6887 --- /dev/null +++ b/docker-compose.yaml @@ -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 + # 根据具体环境配置网络 \ No newline at end of file