mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 21:56:43 +00:00
WIP
This commit is contained in:
parent
a20a35e549
commit
0ddaef9c9a
1 changed files with 30 additions and 30 deletions
|
|
@ -27,36 +27,36 @@ services:
|
|||
"--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
|
||||
# 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
|
||||
# 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
|
||||
|
||||
volumes:
|
||||
geth-data:
|
||||
|
|
|
|||
Loading…
Reference in a new issue