docker-compose.yaml 976B

123456789101112131415161718192021222324
  1. version: '2.0'
  2. services:
  3. chatgpt-on-wechat:
  4. build:
  5. context: ./
  6. dockerfile: Dockerfile.alpine
  7. image: zhayujie/chatgpt-on-wechat-voice-reply
  8. container_name: chatgpt-on-wechat-voice-reply
  9. environment:
  10. OPEN_AI_API_KEY: 'YOUR API KEY'
  11. OPEN_AI_PROXY: ''
  12. SINGLE_CHAT_PREFIX: '["bot", "@bot"]'
  13. SINGLE_CHAT_REPLY_PREFIX: '"[bot] "'
  14. GROUP_CHAT_PREFIX: '["@bot"]'
  15. GROUP_NAME_WHITE_LIST: '["ChatGPT测试群", "ChatGPT测试群2"]'
  16. IMAGE_CREATE_PREFIX: '["画", "看", "找"]'
  17. CONVERSATION_MAX_TOKENS: 1000
  18. SPEECH_RECOGNITION: 'true'
  19. CHARACTER_DESC: '你是ChatGPT, 一个由OpenAI训练的大型语言模型, 你旨在回答并解决人们的任何问题,并且可以使用多种语言与人交流。'
  20. EXPIRES_IN_SECONDS: 3600
  21. VOICE_REPLY_VOICE: 'true'
  22. BAIDU_APP_ID: 'YOUR BAIDU APP ID'
  23. BAIDU_API_KEY: 'YOUR BAIDU API KEY'
  24. BAIDU_SECRET_KEY: 'YOUR BAIDU SERVICE KEY'