Environment improvements for Docker and testing. #83
@ -1,36 +0,0 @@
|
||||
version: "3.2"
|
||||
services:
|
||||
ipld-eth-beacon-db:
|
||||
hostname: ipld-eth-beacon-db
|
||||
env_file:
|
||||
- docker.env
|
||||
restart: always
|
||||
build:
|
||||
dockerfile: ../ipld-eth-beacon-db/Dockerfile
|
||||
context: ../ipld-eth-beacon-db
|
||||
image: cerc/ipld-eth-beacon-db:local
|
||||
healthcheck:
|
||||
test: ["CMD", "nc", "-v", "localhost", "5432"]
|
||||
interval: 5s
|
||||
timeout: 3s
|
||||
retries: 5
|
||||
volumes:
|
||||
- vdb_db_eth-beacon_db:/var/lib/postgresql/data
|
||||
ports:
|
||||
- "5432"
|
||||
command: ["postgres", "-c", "log_min_duration_statement=250"]
|
||||
|
||||
ipld-eth-beacon-indexer:
|
||||
hostname: ipld-eth-beacon-indexer
|
||||
env_file:
|
||||
- docker.env
|
||||
restart: always
|
||||
build:
|
||||
dockerfile: ./Dockerfile
|
||||
context: .
|
||||
depends_on:
|
||||
- ipld-eth-beacon-db
|
||||
image: cerc/ipld-eth-beacon-indexer:local
|
||||
|
||||
volumes:
|
||||
vdb_db_eth-beacon_db:
|
28
docker.env
28
docker.env
@ -1,28 +0,0 @@
|
||||
POSTGRES_HOST=ipld-eth-beacon-db
|
||||
POSTGRES_PASSWORD=CHANGEME
|
||||
POSTGRES_PORT=5432
|
||||
POSTGRES_USER=ethbeacondb
|
||||
POSTGRES_DB=ethbeacondb
|
||||
|
||||
LIGHTHOUSE_HOST=host.docker.internal
|
||||
LIGHTHOUSE_PORT=5052
|
||||
LIGHTHOUSE_PROTOCOL=http
|
||||
|
||||
CAPTURE_MODE=head
|
||||
LOG_LEVEL=debug
|
||||
|
||||
BC_MAX_HISTORIC_PROCESS_WORKER=2
|
||||
BC_UNIQUE_NODE_IDENTIFIER=100
|
||||
BC_CHECK_DB=true
|
||||
BC_BEACON_STATE_PROCESSING_ENABLED=false
|
||||
BC_BEACON_BLOCK_PROCESSING_ENABLED=true
|
||||
BC_MINIMUM_SLOT=4700013
|
||||
|
||||
KG_INCREMENT=10000
|
||||
KG_PROCESS_KNOWN_GAPS_ENABLED=true
|
||||
KG_MAX_KNOWN_GAPS_WORKER=2
|
||||
KG_MINIMUM_SLOT=4700013
|
||||
|
||||
PROM_HOST=host.docker.internal
|
||||
PROM_PORT=9000
|
||||
PROM_METRICS_ENABLED=false
|
Loading…
Reference in New Issue
Block a user