zebra/docker/.env

75 lines
2.2 KiB
Bash

# Configuration variables for running Zebra in Docker
# Sets the path to a custom Zebra config file. If not set, Zebra will look for a config at
# ${HOME}/.config/zebrad.toml or generate one using environment variables below.
# ! Setting ZEBRA_CONF_PATH will make most of the following environment variables ineffective.
#
# ZEBRA_CONF_PATH="/path/to/your/custom/zebrad.toml"
# Sets the network Zebra runs will run on.
#
# NETWORK=Mainnet
# Zebra's RPC server is disabled by default. To enable it, set its port number.
#
# ZEBRA_RPC_PORT=8232 # Default RPC port number on Mainnet.
# ZEBRA_RPC_PORT=18232 # Default RPC port number on Testnet.
# To disable cookie authentication, set the value below to false.
#
# ENABLE_COOKIE_AUTH=true
# Sets a custom directory for the cookie authentication file.
#
# ZEBRA_COOKIE_DIR="/home/zebra/.config/cookie"
# Sets a custom directory for the state and network caches.
#
# ZEBRA_CACHE_DIR="/home/zebra/.cache/zebra"
# Sets custom Cargo features. Available features are listed at
# <https://docs.rs/zebrad/latest/zebrad/index.html#zebra-feature-flags>.
#
# Must be set at build time.
#
# FEATURES=""
# Sets the listen address and port for Prometheus metrics.
#
# METRICS_ENDPOINT_ADDR="0.0.0.0"
# METRICS_ENDPOINT_PORT=9999
# Logging to a file is disabled by default. To enable it, uncomment the line
# below and alternatively set your own path.
#
# LOG_FILE="/home/zebra/.local/state/zebrad.log"
# Zebra recognizes whether its logs are being written to a terminal or a file,
# and uses colored logs for terminals and uncolored logs for files. Setting the
# variable below to true will force colored logs even for files and setting it
# to false will disable colors even for terminals.
#
# LOG_COLOR=true
# To disable logging to journald, set the value to false.
#
# USE_JOURNALD=true
# Sets the listen address and port for the tracing endpoint.
# Only active when the 'filter-reload' feature is enabled.
#
# TRACING_ENDPOINT_ADDR="0.0.0.0"
# TRACING_ENDPOINT_PORT=3000
# If you are going to use Zebra as a backend for a mining pool, set your mining
# address.
#
# MINER_ADDRESS="your_mining_address"
# Controls the output of `env_logger`:
# https://docs.rs/env_logger/latest/env_logger/
#
# Must be set at build time.
#
# RUST_LOG=info