nonebot2/docker-compose.yml

56 lines
1.4 KiB
YAML
Raw Normal View History

2016-12-08 21:59:17 +08:00
version: '2'
services:
mojo-webqq-api:
image: daocloud.io/richardchien/mojo-webqq
container_name: mojo-webqq-api
2016-12-08 21:59:17 +08:00
networks:
- my-net
expose:
- '5000'
volumes:
- /tmp:/tmp
environment:
- PORT=5000
2016-12-30 00:22:47 +08:00
- POST_API=http://xiaokai-bot:8888/qq/
restart: always
mojo-weixin-api:
image: daocloud.io/richardchien/mojo-weixin
container_name: mojo-weixin-api
networks:
- my-net
expose:
- '5001'
volumes:
- /tmp:/tmp
environment:
- PORT=5001
2016-12-30 00:22:47 +08:00
- POST_API=http://xiaokai-bot:8888/wx/
2016-12-08 21:59:17 +08:00
restart: always
2016-12-30 00:22:47 +08:00
xiaokai-bot:
2016-12-26 16:58:31 +08:00
image: daocloud.io/richardchien/xiaokai-bot
2016-12-30 00:22:47 +08:00
container_name: xiaokai-bot
2016-12-08 21:59:17 +08:00
networks:
- my-net
expose:
- '8888'
volumes:
- ./data/qq-bot:/data
2017-01-03 01:29:41 +08:00
- /tmp:/tmp
2016-12-08 21:59:17 +08:00
environment:
- TURING123_API_KEY=YOUR_API_KEY
- HOST=0.0.0.0
- PORT=8888
- QQ_API_URL=http://mojo-webqq-api:5000/openqq
- QQ_SUPER_USER=12345678
- WX_API_URL=http://mojo-weixin-api:5001/openwx
- WX_SUPER_USER=abcdedfh
2017-01-03 01:39:33 +08:00
- BAIDU_FANYI_APP_ID=YOUR_APP_ID
- BAIDU_FANYI_API_KEY=YOUR_API_KEY
2017-01-11 13:29:40 +08:00
- SPEECH_RECOGNITION_SERVICE=baidu|bing
2017-01-03 01:39:33 +08:00
- BAIDU_SPEECH_API_KEY=YOUR_API_KEY
- BAIDU_SPEECH_SECRET_KEY=YOUR_SECRET_KEY
- BING_SPEECH_API_KEY=YOUR_API_KEY
2016-12-08 21:59:17 +08:00
restart: always
networks:
my-net:
driver: bridge