This commit is contained in:
Yohan9206 2025-08-01 14:51:36 +03:00
parent a20a35e549
commit 0ddaef9c9a

View file

@ -27,36 +27,36 @@ services:
"--nodiscover" "--nodiscover"
] ]
postgres: # postgres:
image: postgres:13 # image: postgres:13
container_name: blockscout-db # container_name: blockscout-db
environment: # environment:
POSTGRES_USER: postgres # POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres # POSTGRES_PASSWORD: postgres
POSTGRES_DB: blockscout # POSTGRES_DB: blockscout
ports: # ports:
- "5432:5432" # - "5432:5432"
volumes: # volumes:
- pg-data:/var/lib/postgresql/data # - pg-data:/var/lib/postgresql/data
blockscout: # blockscout:
image: blockscout/blockscout:latest # image: blockscout/blockscout:latest
container_name: blockscout # container_name: blockscout
depends_on: # depends_on:
- geth-node # - geth-node
- postgres # - postgres
ports: # ports:
- "4000:4000" # - "4000:4000"
environment: # environment:
ETHEREUM_JSONRPC_HTTP_URL: http://geth-node:8545 # ETHEREUM_JSONRPC_HTTP_URL: http://geth-node:8545
DATABASE_URL: postgresql://postgres:postgres@postgres:5432/blockscout # DATABASE_URL: postgresql://postgres:postgres@postgres:5432/blockscout
NETWORK: "Devnet" # NETWORK: "Devnet"
SUBNETWORK: "Geth Dev Mode" # SUBNETWORK: "Geth Dev Mode"
COIN: "ETH" # COIN: "ETH"
MIX_ENV: "prod" # MIX_ENV: "prod"
PORT: 4000 # PORT: 4000
BLOCKSCOUT_HOST: "0.0.0.0" # BLOCKSCOUT_HOST: "0.0.0.0"
restart: unless-stopped # restart: unless-stopped
volumes: volumes:
geth-data: geth-data: