viabtc_exchange_server_docker icon indicating copy to clipboard operation
viabtc_exchange_server_docker copied to clipboard

easy run viabtc_exchange_server use docker compose

Easy startup viabtc_exchange_server with docker

中文

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

Screenshots

screenshots

Prepare

  • 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

Startup

Open a terminal(linux/mac) or cmd(windows)

git clone [email protected]: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

Donation

Links

  • 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