Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gyk001/viabtc_exchange_server_docker
easy run viabtc_exchange_server use docker compose
https://github.com/gyk001/viabtc_exchange_server_docker
bitcoin bitcoin-price bitcoin-transaction bitcoin-wallet btc btc-price btcmarkets docker docker-compose
Last synced: 2 months ago
JSON representation
easy run viabtc_exchange_server use docker compose
- Host: GitHub
- URL: https://github.com/gyk001/viabtc_exchange_server_docker
- Owner: gyk001
- Created: 2018-01-23T04:46:35.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-27T06:47:54.000Z (about 6 years ago)
- Last Synced: 2024-09-29T03:42:42.224Z (3 months ago)
- Topics: bitcoin, bitcoin-price, bitcoin-transaction, bitcoin-wallet, btc, btc-price, btcmarkets, docker, docker-compose
- Language: Shell
- Size: 667 KB
- Stars: 91
- Watchers: 12
- Forks: 104
- Open Issues: 8
-
Metadata Files:
- Readme: README-zh.md
Awesome Lists containing this project
README
# 使用Docker快速运行viabtc_exchange_server
[English](README.md)
本项目提供了一种简单快速启动[viabtc_exchange_server](https://github.com/viabtc/viabtc_exchange_server) 的Docker配置
这些配置会自动配置以下内容:
* 启动一个Ubuntu容器
* 准备好编译及运行环境
* 从源码构建viabtc_exchange_server
* 搭建并启动依赖服务(如redis kafka mysql等)
* 启动viabtc_exchange_server服务# 屏幕截图
![屏幕截图](imgs/screenshots.jpg)
# 准备工作
* 安装docker包括docker-compose: 详见文档 https://docs.docker.com/compose/install/
> Docker 17.05.0-ce或以上版本
* git: 非必须,你也可以下载从页面上下载该仓库
* curl: 非必须,仅测试服务效果使用# 使用方式
打开终端(linux/mac)或者cmd(windows)
```bash
git clone [email protected]:gyk001/viabtc_exchange_server_docker.git
cd viabtc_exchange_server_docker
docker-compose up
```等待服务启动完成,然后使用curl命令测试效果
```bash
curl http://127.0.0.1:18080/ -d '{"method": "market.list", "params": [], "id": 1516681174}'
```全部搞定了,开始探索吧!
提示: 如果你没有安装git,也可以使用下面的步骤运行
* 手工下载文件 https://codeload.github.com/gyk001/viabtc_exchange_server_docker/zip/master
* 解压下载的压缩包 viabtc_exchange_server_docker-master.zip
* 命令行进入解压后的目录
* 执行`docker-compose up`# 捐赠
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