Integrate ipld-eth-beacon-indexer working with the fixturenet. #36
17
compose/docker-compose-ipld-eth-beacon-db.yml
Normal file
17
compose/docker-compose-ipld-eth-beacon-db.yml
Normal file
@ -0,0 +1,17 @@
|
||||
version: "3.2"
|
||||
services:
|
||||
ipld-eth-beacon-db:
|
||||
restart: always
|
||||
image: cerc/ipld-eth-beacon-db:local
|
||||
environment:
|
||||
POSTGRES_USER: vdbm
|
||||
POSTGRES_DB: cerc_testing
|
||||
POSTGRES_PASSWORD: password
|
||||
healthcheck:
|
||||
test: ["CMD", "nc", "-v", "localhost", "5432"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 10
|
||||
start_period: 3s
|
||||
ports:
|
||||
- "127.0.0.1:8076:5432"
|
12
compose/docker-compose-ipld-eth-beacon-indexer.yml
Normal file
12
compose/docker-compose-ipld-eth-beacon-indexer.yml
Normal file
@ -0,0 +1,12 @@
|
||||
version: "3.2"
|
||||
services:
|
||||
ipld-eth-beacon-indexer:
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
ipld-eth-beacon-db:
|
||||
condition: service_healthy
|
||||
fixturenet-eth-lighthouse-1:
|
||||
condition: service_healthy
|
||||
image: cerc/ipld-eth-beacon-indexer:local
|
||||
env_file:
|
||||
- ../config/ipld-eth-beacon-indexer/indexer.env
|
31
config/ipld-eth-beacon-indexer/indexer.env
Normal file
31
config/ipld-eth-beacon-indexer/indexer.env
Normal file
@ -0,0 +1,31 @@
|
||||
# Match compose/docker-compose-ipld-eth-beacon-db.yml
|
||||
POSTGRES_HOST=ipld-eth-beacon-db
|
||||
POSTGRES_PORT=5432
|
||||
POSTGRES_DB=cerc_testing
|
||||
POSTGRES_USER=vdbm
|
||||
POSTGRES_PASSWORD=password
|
||||
|
||||
# Match compose/docker-compose-fixturenet-eth.yml
|
||||
LIGHTHOUSE_HOST=fixturenet-eth-lighthouse-1
|
||||
LIGHTHOUSE_PORT=8001
|
||||
LIGHTHOUSE_PROTOCOL=http
|
||||
|
||||
CAPTURE_MODE=head
|
||||
LOG_LEVEL=debug
|
||||
|
||||
BC_MAX_HISTORIC_PROCESS_WORKER=2
|
||||
BC_UNIQUE_NODE_IDENTIFIER=1001
|
||||
BC_CHECK_DB=true
|
||||
BC_BEACON_STATE_PROCESSING_ENABLED=false
|
||||
BC_BEACON_BLOCK_PROCESSING_ENABLED=true
|
||||
BC_MINIMUM_SLOT=0
|
||||
|
||||
KG_INCREMENT=10000
|
||||
KG_PROCESS_KNOWN_GAPS_ENABLED=true
|
||||
KG_MAX_KNOWN_GAPS_WORKER=2
|
||||
KG_MINIMUM_SLOT=0
|
||||
|
||||
# Match compose/docker-compose-prometheus-grafana.yml
|
||||
PROM_HOST=prometheus
|
||||
PROM_PORT=9000
|
||||
PROM_METRICS_ENABLED=false
|
Loading…
Reference in New Issue
Block a user