- change : Docker启动命令添加映射VT_setting.json 的参数

This commit is contained in:
lamter 2017-04-26 22:23:47 +08:00
parent f8d48bd4b9
commit 2c5abc4d90
2 changed files with 9 additions and 2 deletions

View File

@ -3,6 +3,7 @@
cd .. cd ..
docker run --name vnpy --rm \ docker run --name vnpy --rm \
-v `pwd`:/srv/vnpy \ -v `pwd`:/srv/vnpy \
-v `pwd`/../vn.trader/VT_setting.json:/etc/vnpy/VT_setting.json \
-p 2014:2014 -p 602:602 \ -p 2014:2014 -p 602:602 \
vnpy:latest \ vnpy:latest \
python /srv/vnpy/vn.trader/vtServer.py python /srv/vnpy/vn.trader/vtServer.py --VT_setting /etc/vnpy/VT_setting.json

View File

@ -5,7 +5,13 @@
"mongoHost": "localhost", "mongoHost": "localhost",
"mongoPort": 27017, "mongoPort": 27017,
"mongoLogging": true, "mongoLogging": true,
"automongodb": true,
"darkStyle": true, "darkStyle": true,
"language": "chinese" "language": "chinese",
"CTP_connect": null,
"autoctp": true,
"autoshutdown": true
} }