forked from gobitfly/eth2-beaconchain-explorer
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig-example.yml
34 lines (31 loc) · 1.25 KB
/
config-example.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Database credentials
database:
user: "<dbuser>"
name: "<dbname>"
host: "<dbhost>"
port: "<dbport>"
password: "<dbpassword>"
# Chain network configuration (example will work for the prysm testnet)
chain:
slotsPerEpoch: 8
secondsPerSlot: 12
genesisTimestamp: 1573489682
# Note: It is possible to run either the frontend or the indexer or both at the same time
# Frontend config
frontend:
enabled: true # Enable or disable to web frontend
imprint: "templates/imprint.example.html" # Path to the imprint page content
siteName: "Ethereum 2.0 Beacon Chain (Phase 0) Block Chain Explorer" # Name of the site, displayed in the title tag
siteSubtitle: "Showing the <a href='https://prylabs.net'>💎 Prysm Eth2 Testnet</a>" # Subtitle shown on the main page
server:
host: "localhost" # Address to listen on
port: "3333" # Port to listen on
# Indexer config
indexer:
enabled: true # Enable or disable the indexing service
fullIndexOnStartup: false # Perform a one time full db index on startup
indexMissingEpochsOnStartup: false # Check for missing epochs and export them after startup
node:
host: "localhost" # Address of the backend node
port: "4000" # port of the backend node
type: "prysm" # can be either prysm or lighthouse