- change : Docker启动命令添加映射VT_setting.json 的参数
This commit is contained in:
parent
f8d48bd4b9
commit
2c5abc4d90
@ -3,6 +3,7 @@
|
||||
cd ..
|
||||
docker run --name vnpy --rm \
|
||||
-v `pwd`:/srv/vnpy \
|
||||
-v `pwd`/../vn.trader/VT_setting.json:/etc/vnpy/VT_setting.json \
|
||||
-p 2014:2014 -p 602:602 \
|
||||
vnpy:latest \
|
||||
python /srv/vnpy/vn.trader/vtServer.py
|
||||
python /srv/vnpy/vn.trader/vtServer.py --VT_setting /etc/vnpy/VT_setting.json
|
||||
|
@ -5,7 +5,13 @@
|
||||
"mongoHost": "localhost",
|
||||
"mongoPort": 27017,
|
||||
"mongoLogging": true,
|
||||
"automongodb": true,
|
||||
|
||||
"darkStyle": true,
|
||||
"language": "chinese"
|
||||
"language": "chinese",
|
||||
"CTP_connect": null,
|
||||
"autoctp": true,
|
||||
|
||||
"autoshutdown": true
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user