mirror of
https://github.com/apotdevin/thunderhub.git
synced 2026-08-13 12:33:08 +02:00
81 lines
No EOL
2 KiB
Bash
81 lines
No EOL
2 KiB
Bash
# -----------
|
|
# IMPORTANT
|
|
# Create a new file called .env.local and copy
|
|
# the environment variables that you want to
|
|
# change to this file. This way they won't be
|
|
# overwritten when you update thunderhub.
|
|
# -----------
|
|
|
|
# -----------
|
|
# Server Configs
|
|
# -----------
|
|
# LOG_LEVEL='info'
|
|
# LOG_JSON=true
|
|
# TOR_PROXY_SERVER=socks://127.0.0.1:9050
|
|
# DISABLE_TWOFA=true
|
|
|
|
# -----------
|
|
# URLs
|
|
# -----------
|
|
# MEMPOOL_URL='https://mempool.space'
|
|
|
|
# -----------
|
|
# Interface Configs
|
|
# -----------
|
|
# THEME='dark'
|
|
# CURRENCY='sat'
|
|
|
|
# -----------
|
|
# Subscription Configs
|
|
# -----------
|
|
# DISABLE_ALL_SUBS=true
|
|
# DISABLE_INVOICE_SUB=true
|
|
# DISABLE_PAYMENT_SUB=true
|
|
# DISABLE_FORWARD_SUB=true
|
|
# DISABLE_CHANNEL_SUB=true
|
|
# DISABLE_BACKUP_SUB=true
|
|
|
|
# -----------
|
|
# Privacy Configs
|
|
# -----------
|
|
# FETCH_PRICES=false
|
|
# FETCH_FEES=false
|
|
# DISABLE_LINKS=true
|
|
# DISABLE_LNMARKETS=true
|
|
# NO_VERSION_CHECK=true
|
|
|
|
# -----------
|
|
# Account Configs
|
|
# -----------
|
|
# ACCOUNT_CONFIG_PATH='/path/to/config/thubConfig.yaml'
|
|
# MASTER_PASSWORD_OVERRIDE='secretPasswordForAllAccounts'
|
|
# YML_ENV_1=''
|
|
# YML_ENV_2=''
|
|
# YML_ENV_3=''
|
|
# YML_ENV_4=''
|
|
|
|
# -----------
|
|
# SSO Account Configs
|
|
# -----------
|
|
# COOKIE_PATH='/path/to/cookie/.cookie'
|
|
# SSO_SERVER_URL='127.0.0.1:10009'
|
|
# SSO_CERT_PATH='/path/to/certificate/tls.cert'
|
|
# SSO_MACAROON_PATH='/path/to/folder/containing/macaroons'
|
|
# DANGEROUS_NO_SSO_AUTH=false
|
|
# LOGOUT_URL='http://thunderhub.io'
|
|
# SSO_NODE_TYPE='lnd' # 'lnd' or 'litd'
|
|
|
|
# -----------
|
|
# Database Configs
|
|
# -----------
|
|
# DB_TYPE='sqlite' # 'sqlite' or 'postgres' (omit to disable database)
|
|
# DB_SQLITE_PATH='/path/to/thunderhub.db' # Required when DB_TYPE is 'sqlite'
|
|
# DB_POSTGRES_URL='postgres://user:pass@localhost:5432/thunderhub' # Required when DB_TYPE is 'postgres'
|
|
# DB_ENCRYPTION_KEY='' # 64-char hex string (32 bytes) for AES-256-GCM encryption of node credentials at rest. Generate with: openssl rand -hex 32
|
|
|
|
# -----------
|
|
# SSL Config
|
|
# -----------
|
|
# PUBLIC_URL='app.example.com'
|
|
# SSL_PORT=8080
|
|
# SSL_SAVE=true |