Sign inSign up

imaccloud/ethnetintel

By imaccloud

•Updated over 10 years ago

Dockerize Ethereum Network Intelligence API.

Image
0

252

imaccloud/ethnetintel repository overview

⁠Dockerize Ethereum Network Intelligence API

本專案說明如何透過 Dockerfile 建置 Ethereum Network Intelligence API Client。

⁠Build Images

首先 Clone 這個專案到 local 端:

$ git clone https://github.com/imac-cloud/docker-ethnetintel.git

然後,進入到目錄並執行以下指令開始建置映像檔:

$ cd docker-ethnetintel
$ docker build -t imaccloud/ethnetintel:0.0.1 .
⁠Quick Start

自動建置的映像檔現在可以在 DockerHub⁠ 找到,也推薦透過這邊進行安裝。

$ docker pull imaccloud/ethnetintel:0.0.1

接著手動執行以下指令來啟動 eth-netintel 容器:

$ docker run -d -p 30303:30303 -p 30303:30303/udp -e NAME_PREFIX="geth-1" \
-e WS_SERVER="http://172.17.1.200:3000" -e WS_SECRET="admin" \
-e RPC_HOST="172.17.1.199" -e RPC_PORT="8545" \
--name ethnetintel imaccloud/ethnetintel:0.0.1

記得要開啟 eth-netstats⁠,並輸入正確的 WS_SECRET。

Tag summary

Content type

Image

Digest

Size

264 MB

Last updated

over 10 years ago

docker pull imaccloud/ethnetintel:0.0.1