nonebot2/docker-compose.yml
2017-02-15 21:21:51 +08:00

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