mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-30 17:15:08 +08:00
27 lines
675 B
YAML
27 lines
675 B
YAML
version: '2'
|
|
services:
|
|
xiaokai-bot:
|
|
image: richardchien/xiaokai-bot
|
|
container_name: xiaokai-bot
|
|
networks:
|
|
- my-net
|
|
expose:
|
|
- '8888'
|
|
volumes:
|
|
- ./data/xiaokai-bot:/data
|
|
- /tmp:/tmp
|
|
environment:
|
|
- TURING123_API_KEY=YOUR_API_KEY
|
|
- HOST=0.0.0.0
|
|
- PORT=8888
|
|
- BAIDU_FANYI_APP_ID=YOUR_APP_ID
|
|
- BAIDU_FANYI_API_KEY=YOUR_API_KEY
|
|
- SPEECH_RECOGNITION_SERVICE=baidu|bing
|
|
- BAIDU_SPEECH_API_KEY=YOUR_API_KEY
|
|
- BAIDU_SPEECH_SECRET_KEY=YOUR_SECRET_KEY
|
|
- BING_SPEECH_API_KEY=YOUR_API_KEY
|
|
- HEWEATHER_API_KEY=YOUR_API_KEY
|
|
restart: always
|
|
networks:
|
|
my-net:
|
|
driver: bridge |