This is docker config to startup viabtc_exchange_server simply.
This repo do this things automatic:
- Startup a ubuntu docker container
- Prepare requirements environment
- Build viabtc_exchange_server from sourcecode
- Set up requirement service( redis kafka mysql...)
- Startup viabtc_exchange_server service
- docker with compose: https://docs.docker.com/compose/install/
Docker 17.05.0-ce version or newer
- git: not require, you also can download repo from webpage
- curl: not require, just for test
Open a terminal(linux/mac) or cmd(windows)
git clone git@github.com:gyk001/viabtc_exchange_server_docker.git
cd viabtc_exchange_server_docker
docker-compose up
Just wait it startup and then test use curl
curl http://127.0.0.1:18080/ -d '{"method": "market.list", "params": [], "id": 1516681174}'
All is done, just play it!
Tips: if you don't install git, you can startup it like this
- Download https://codeload.github.com/gyk001/viabtc_exchange_server_docker/zip/master
- Extract viabtc_exchange_server_docker-master.zip
- cd into the target directory
- run
docker-compose up
If you find this help, please donate~ Thx.
若本项目对您有帮助,求打赏~ 谢谢您的鼓励。
若本项目对您有帮助,求打赏~ 谢谢您的鼓励。