Skip to content

Latest commit

 

History

History
58 lines (40 loc) · 2.28 KB

README.md

File metadata and controls

58 lines (40 loc) · 2.28 KB

Supported tags and respective Dockerfile links

Quick reference

What is Skycoin explorer ?

Skycoin explorer is a tool to interact with Skycoin's ecosystem.

You can check blocks, transactions and their states.

How to use this image to run a skycoin-explorer node

It is posible to build an image from the github repository or just pull the official one from Docker Hub

In order to build it from sources, execute the following commands

$ git clone https://github.com/skycoin/skycoin-explorer ${GOPATH}/src/github.com/skycoin/skycoin-explorer
$ cd ${GOPATH}/src/github.com/skycoin/skycoin-explorer
$ docker build -t skycoin/skycoin-explorer:[tag] -f docker/images/Dockerfile .

Or use the official image

$ docker pull skycoin/skycoin-explorer:[tag]

Now launch the container

$ docker run -d --name explorer-node -p 8001:8001 skycoin/skycoin-explorer:[tag]

Stopping the container

$ docker stop explorer-node

The SKYCOIN_ADDR and the EXPLORER_HOST environment variables can be passed in to the running container to modify the default behavior, the first one sets the IP of the skycoin node and the second one sets the IP of the interface where the node is listening

$ docker run -d --name explorer-node -p 8001:8001 -e SKYCOIN_ADDR="http://192.168.1.1:6420" skycoin/skycoin-explorer:[tag]

To access the explorer visit http://localhost:8001