2016-12-08 13:59:17 +00:00
|
|
|
version: '2'
|
|
|
|
services:
|
2016-12-29 15:45:34 +00:00
|
|
|
mojo-webqq-api:
|
2017-01-14 08:14:40 +00:00
|
|
|
image: sjdy521/mojo-webqq
|
2016-12-29 15:45:34 +00:00
|
|
|
container_name: mojo-webqq-api
|
2016-12-08 13:59:17 +00:00
|
|
|
networks:
|
|
|
|
- my-net
|
|
|
|
expose:
|
|
|
|
- '5000'
|
|
|
|
volumes:
|
|
|
|
- /tmp:/tmp
|
|
|
|
environment:
|
2017-01-14 08:14:40 +00:00
|
|
|
- MOJO_WEBQQ_PLUGIN_OPENQQ_PORT=5000
|
|
|
|
- MOJO_WEBQQ_PLUGIN_OPENQQ_POST_API=http://xiaokai-bot:8888/qq/
|
2016-12-29 15:45:34 +00:00
|
|
|
restart: always
|
|
|
|
mojo-weixin-api:
|
2017-01-14 08:14:40 +00:00
|
|
|
image: sjdy521/mojo-weixin
|
2016-12-29 15:45:34 +00:00
|
|
|
container_name: mojo-weixin-api
|
|
|
|
networks:
|
|
|
|
- my-net
|
|
|
|
expose:
|
|
|
|
- '5001'
|
|
|
|
volumes:
|
|
|
|
- /tmp:/tmp
|
|
|
|
environment:
|
2017-01-14 08:14:40 +00:00
|
|
|
- MOJO_WEIXIN_PLUGIN_OPENQQ_PORT=5001
|
|
|
|
- MOJO_WEIXIN_PLUGIN_OPENQQ_POST_API=http://xiaokai-bot:8888/wx/
|
2016-12-08 13:59:17 +00:00
|
|
|
restart: always
|
2016-12-29 16:22:47 +00:00
|
|
|
xiaokai-bot:
|
2017-01-14 08:14:40 +00:00
|
|
|
image: richardchien/xiaokai-bot
|
2016-12-29 16:22:47 +00:00
|
|
|
container_name: xiaokai-bot
|
2016-12-08 13:59:17 +00:00
|
|
|
networks:
|
|
|
|
- my-net
|
|
|
|
expose:
|
|
|
|
- '8888'
|
|
|
|
volumes:
|
2017-01-14 08:14:40 +00:00
|
|
|
- ./data/xiaokai-bot:/data
|
2017-01-02 17:29:41 +00:00
|
|
|
- /tmp:/tmp
|
2016-12-08 13:59:17 +00:00
|
|
|
environment:
|
|
|
|
- TURING123_API_KEY=YOUR_API_KEY
|
|
|
|
- HOST=0.0.0.0
|
|
|
|
- PORT=8888
|
2016-12-29 15:45:34 +00:00
|
|
|
- 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-02 17:39:33 +00:00
|
|
|
- BAIDU_FANYI_APP_ID=YOUR_APP_ID
|
|
|
|
- BAIDU_FANYI_API_KEY=YOUR_API_KEY
|
2017-01-11 05:29:40 +00:00
|
|
|
- SPEECH_RECOGNITION_SERVICE=baidu|bing
|
2017-01-02 17:39:33 +00:00
|
|
|
- BAIDU_SPEECH_API_KEY=YOUR_API_KEY
|
|
|
|
- BAIDU_SPEECH_SECRET_KEY=YOUR_SECRET_KEY
|
|
|
|
- BING_SPEECH_API_KEY=YOUR_API_KEY
|
2017-01-12 13:59:54 +00:00
|
|
|
- HEWEATHER_API_KEY=YOUR_API_KEY
|
2016-12-08 13:59:17 +00:00
|
|
|
restart: always
|
|
|
|
networks:
|
|
|
|
my-net:
|
|
|
|
driver: bridge
|