This is docker config to startup viabtc_exchange_server easily.
This repo do this things automaticly:
- 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/
- git: not require, you also can download repo from webpage
- curl: not require, just for test
Open a terminal(linux/mac) or cmd(windows)
Works fine with Docker 18.03.1-ce, docker-compose 1.21.2 and Ubuntu 16.04 Server LTS
git clone https://github.com/barbariska108/viabtc_exchange_server_docker-fixed
cd viabtc_exchange_server_docker
sudo apt-get update
sudo apt-get install -y liblz4-dev
docker-compose up
Just wait for startup and then test using curl
curl http://127.0.0.1:18080/ -d '{"method": "market.list", "params": [], "id": 1516681174}'
All is done, just play it!
BTC - 15qntcWtKASNoByYLakAFEQGFkTCBUJFA7
If you find this help, please donate~ Thx.
若本项目对您有帮助,求打赏~ 谢谢您的鼓励。
若本项目对您有帮助,求打赏~ 谢谢您的鼓励。
- https://github.com/viabtc/viabtc_exchange_server
- https://github.com/docker-library/mysql
- https://github.com/docker-library/redis
- https://github.com/wurstmeister/kafka-docker
- https://github.com/s7anley/redis-sentinel-docker
- https://github.com/vishnubob/wait-for-it
- https://github.com/yingl/viabtc_exchange_server/blob/master/README.md
- https://github.com/gyk001/viabtc_exchange_server_docker