mirror of
https://github.com/alexgo-io/gaze-brc20-indexer.git
synced 2026-01-12 14:34:54 +08:00
42 lines
1.9 KiB
YAML
42 lines
1.9 KiB
YAML
logger:
|
|
output: TEXT # Output format for logs. current supported formats: "TEXT" | "JSON" | "GCP"
|
|
debug: false
|
|
|
|
# Network to run the indexer on. Current supported networks: "mainnet" | "testnet"
|
|
network: mainnet
|
|
|
|
# Bitcoin Core RPC configuration options.
|
|
bitcoin_node:
|
|
host: "" # [Required] Host of Bitcoin Core RPC (without https://)
|
|
user: "" # Username to authenticate with Bitcoin Core RPC
|
|
pass: "" # Password to authenticate with Bitcoin Core RPC
|
|
disable_tls: false # Set to true to disable tls
|
|
|
|
# Block reporting configuration options. See Block Reporting section for more details.
|
|
reporting:
|
|
disabled: false # Set to true to disable block reporting to Gaze Network. Default is false.
|
|
base_url: "https://indexer.api.gaze.network" # Defaults to "https://indexer.api.gaze.network" if left empty
|
|
name: "" # [Required if not disabled] Name of this indexer to show on the Gaze Network dashboard
|
|
website_url: "" # Public website URL to show on the dashboard. Can be left empty.
|
|
indexer_api_url: "" # Public url to access this indexer's API. Can be left empty if you want to keep your indexer private.
|
|
|
|
# HTTP server configuration options.
|
|
http_server:
|
|
port: 8080 # Port to run the HTTP server on for modules with HTTP API handlers.
|
|
|
|
# Meta-protocol modules configuration options.
|
|
modules:
|
|
# Configuration options for Runes module. Can be removed if not used.
|
|
runes:
|
|
database: "postgres" # Database to store Runes data. current supported databases: "postgres"
|
|
datasource: "database" # Data source to be used for Bitcoin data. current supported data sources: "bitcoin-node".
|
|
api_handlers: # API handlers to enable. current supported handlers: "http"
|
|
- http
|
|
postgres:
|
|
host: "localhost"
|
|
port: 5432
|
|
user: "postgres"
|
|
password: "password"
|
|
db_name: "postgres"
|
|
# url: "postgres://postgres:password@localhost:5432/postgres?sslmode=prefer" # [Optional] This will override other database credentials above.
|