1
0
stack-orchestrator/compose/docker-compose-go-ethereum-foundry.yml

31 lines
764 B
YAML
Raw Normal View History

2022-08-12 17:32:40 +00:00
version: "3.2"
services:
go-ethereum:
restart: unless-stopped
depends_on:
ipld-eth-db:
condition: service_healthy
2022-08-23 22:02:38 +00:00
image: cerc/go-ethereum-foundry:local
2022-08-12 17:32:40 +00:00
healthcheck:
test: ["CMD", "nc", "-v", "localhost", "8545"]
interval: 30s
timeout: 3s
retries: 10
environment:
DB_USER: vdbm
2022-08-23 22:02:38 +00:00
DB_NAME: cerc_testing
2022-08-12 17:32:40 +00:00
DB_HOST: ipld-eth-db
DB_PORT: 5432
DB_PASSWORD: password
DB_WRITE: "true"
2022-08-12 17:32:40 +00:00
DB_TYPE: postgres
DB_DRIVER: sqlx
DB_WAIT_FOR_SYNC: "true"
CHAIN_ID: "99"
USE_GENESIS: "true"
2022-08-22 02:26:55 +00:00
EXTRA_START_ARGS: "--metrics --metrics.expensive --metrics.addr 0.0.0.0 --metrics.port 6060"
2022-08-12 17:32:40 +00:00
ports:
- "127.0.0.1:8545:8545"
- "127.0.0.1:8546:8546"