mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 05:36:46 +00:00
adding Blockscout
This commit is contained in:
parent
a1a76ecaf5
commit
7bad262b7f
1 changed files with 32 additions and 0 deletions
|
|
@ -10,6 +10,7 @@ services:
|
||||||
- "30303:30303"
|
- "30303:30303"
|
||||||
volumes:
|
volumes:
|
||||||
- geth-data:/root/.ethereum
|
- geth-data:/root/.ethereum
|
||||||
|
restart: unless-stopped
|
||||||
command: [
|
command: [
|
||||||
"geth",
|
"geth",
|
||||||
"--dev",
|
"--dev",
|
||||||
|
|
@ -25,7 +26,38 @@ services:
|
||||||
"--mine",
|
"--mine",
|
||||||
"--nodiscover"
|
"--nodiscover"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
postgres:
|
||||||
|
image: postgres:13
|
||||||
|
container_name: blockscout-db
|
||||||
|
environment:
|
||||||
|
POSTGRES_USER: postgres
|
||||||
|
POSTGRES_PASSWORD: postgres
|
||||||
|
POSTGRES_DB: blockscout
|
||||||
|
ports:
|
||||||
|
- "5432:5432"
|
||||||
|
volumes:
|
||||||
|
- pg-data:/var/lib/postgresql/data
|
||||||
|
|
||||||
|
blockscout:
|
||||||
|
image: blockscout/blockscout:latest
|
||||||
|
container_name: blockscout
|
||||||
|
depends_on:
|
||||||
|
- geth-node
|
||||||
|
- postgres
|
||||||
|
ports:
|
||||||
|
- "4000:4000"
|
||||||
|
environment:
|
||||||
|
ETHEREUM_JSONRPC_HTTP_URL: http://geth-node:8545
|
||||||
|
DATABASE_URL: postgresql://postgres:postgres@postgres:5432/blockscout
|
||||||
|
NETWORK: "Devnet"
|
||||||
|
SUBNETWORK: "Geth Dev Mode"
|
||||||
|
COIN: "ETH"
|
||||||
|
MIX_ENV: "prod"
|
||||||
|
PORT: 4000
|
||||||
|
BLOCKSCOUT_HOST: "0.0.0.0"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
geth-data:
|
geth-data:
|
||||||
|
pg-data:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue