[Guide]:How to set up muse price feed on Docker

in #docker6 years ago (edited)

muse

Step1 Use below docker command to download muse-pricefeed-docker image,
docker pull museblockchaindocker/muse-pricefeed

Step2 Run container:
docker run --name muse-pricefeed -itd museblockchaindocker/muse-pricefeed

Step3 Enter container:
docker exec -it muse-pricefeed /bin/bash

Step4 Use editor to set config.json file(witness name and active private key) and save it.
config.json format is like that:
{
"account": "Witness Account Name", // name of your muse witness account, modify it
"active_key": "Witness Active Private Key", // private active key of your muse witness account, modify it,
"exchanges": [],
"interval": 60,
"peg_multi": 1
}

Step5 Use the following commands to start:
pm2 start feed.js

Done, muse price feed is working now.

If this post helps you, please vote for my muse witness "wallet", thank you very much.

Coin Marketplace

STEEM 0.18
TRX 0.13
JST 0.028
BTC 58484.86
ETH 3100.06
USDT 1.00
SBD 2.40