-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1274 from zhayujie/feat-dockerhub
feat: modify docker-compose file to pull image from dockerhub
- Loading branch information
Showing
3 changed files
with
9 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,21 @@ | ||
version: '2.0' | ||
services: | ||
chatgpt-on-wechat: | ||
build: | ||
context: ./ | ||
dockerfile: Dockerfile.alpine | ||
image: zhayujie/chatgpt-on-wechat | ||
container_name: sample-chatgpt-on-wechat | ||
container_name: chatgpt-on-wechat | ||
environment: | ||
OPEN_AI_API_KEY: 'YOUR API KEY' | ||
MODEL: 'gpt-3.5-turbo' | ||
OPEN_AI_PROXY: '' | ||
SINGLE_CHAT_PREFIX: '["bot", "@bot"]' | ||
SINGLE_CHAT_REPLY_PREFIX: '"[bot] "' | ||
GROUP_CHAT_PREFIX: '["@bot"]' | ||
GROUP_NAME_WHITE_LIST: '["ChatGPT测试群", "ChatGPT测试群2"]' | ||
IMAGE_CREATE_PREFIX: '["画", "看", "找"]' | ||
CONVERSATION_MAX_TOKENS: 1000 | ||
SPEECH_RECOGNITION: "False" | ||
SPEECH_RECOGNITION: 'False' | ||
CHARACTER_DESC: '你是ChatGPT, 一个由OpenAI训练的大型语言模型, 你旨在回答并解决人们的任何问题,并且可以使用多种语言与人交流。' | ||
EXPIRES_IN_SECONDS: 3600 | ||
EXPIRES_IN_SECONDS: 3600 | ||
USE_LINKAI: 'False' | ||
LINKAI_API_KEY: '' | ||
LINKAI_APP_CODE: '' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
openai==0.27.2 | ||
openai | ||
HTMLParser>=0.0.2 | ||
PyQRCode>=1.2.1 | ||
qrcode>=7.4.2 | ||
|