vnpy/docker/server_vnpy.sh

10 lines
274 B
Bash
Raw Normal View History

2017-04-26 13:26:46 +00:00
#/bin/bash
cd ..
docker run --name vnpy --rm \
-v `pwd`:/srv/vnpy \
-v `pwd`/vn.trader/tmp/VT_setting.json:/etc/vnpy/VT_setting.json \
2017-04-26 13:26:46 +00:00
-p 2014:2014 -p 602:602 \
vnpy:latest \
python /srv/vnpy/vn.trader/vtServer.py --VT_setting /etc/vnpy/VT_setting.json