lnbits/.env.example

75 lines
2.6 KiB
Plaintext
Raw Normal View History

2020-09-28 21:49:11 +00:00
QUART_APP=lnbits.app:create_app()
QUART_ENV=development
QUART_DEBUG=true
HOST=127.0.0.1
PORT=5000
2019-12-14 09:13:27 +00:00
2021-06-28 21:57:23 +00:00
LNBITS_ALLOWED_USERS=""
2020-03-08 22:00:41 +00:00
LNBITS_DEFAULT_WALLET_NAME="LNbits wallet"
2021-06-22 02:22:52 +00:00
# Database: to use SQLite, specify LNBITS_DATA_FOLDER
# to use PostgreSQL, specify LNBITS_DATABASE_URL=postgres://...
# to use CockroachDB, specify LNBITS_DATABASE_URL=cockroachdb://...
# for both PostgreSQL and CockroachDB, you'll need to install
# psycopg2 as an additional dependency
LNBITS_DATA_FOLDER="./data"
# LNBITS_DATABASE_URL="postgres://user:password@host:port/databasename"
2021-06-22 02:22:52 +00:00
2021-07-05 09:02:36 +00:00
# disable selected extensions, or use "all" to disable all extensions
2021-07-03 15:51:11 +00:00
LNBITS_DISABLED_EXTENSIONS="amilk,ngrok"
LNBITS_FORCE_HTTPS=true
2020-04-21 13:44:02 +00:00
LNBITS_SERVICE_FEE="0.0"
2020-03-08 22:00:41 +00:00
2021-06-28 21:57:23 +00:00
# Change theme
LNBITS_SITE_TITLE="LNbits"
LNBITS_SITE_TAGLINE="free and open-source lightning wallet"
LNBITS_SITE_DESCRIPTION="Some description about your service, will display if title is not 'LNbits'"
2021-07-01 11:34:50 +00:00
# Choose from mint, flamingo, salvador, autumn, monochrome, classic
LNBITS_THEME_OPTIONS="mint, flamingo, classic, autumn, monochrome, salvador"
2021-06-28 21:57:23 +00:00
2020-10-02 17:53:55 +00:00
# Choose from LNPayWallet, OpenNodeWallet, LntxbotWallet, LndWallet (gRPC),
# LndRestWallet, CLightningWallet, LNbitsWallet, SparkWallet
2020-10-02 17:53:55 +00:00
LNBITS_BACKEND_WALLET_CLASS=VoidWallet
# VoidWallet is just a fallback that works without any actual Lightning capabilities,
# just so you can see the UI before dealing with this file.
2020-04-16 15:10:53 +00:00
2020-10-02 17:53:55 +00:00
# Set one of these blocks depending on the wallet kind you chose above:
# SparkWallet
SPARK_URL=http://localhost:9737/rpc
SPARK_TOKEN=myaccesstoken
# CLightningWallet
2020-04-21 21:47:16 +00:00
CLIGHTNING_RPC="/home/bob/.lightning/bitcoin/lightning-rpc"
2020-04-16 15:10:53 +00:00
2020-10-02 17:53:55 +00:00
# LnbitsWallet
2022-01-14 09:43:30 +00:00
LNBITS_ENDPOINT=https://legend.lnbits.com
LNBITS_KEY=LNBITS_ADMIN_KEY
2020-10-02 17:53:55 +00:00
# LndWallet
LND_GRPC_ENDPOINT=127.0.0.1
LND_GRPC_PORT=11009
LND_GRPC_CERT="/home/bob/.config/Zap/lnd/bitcoin/mainnet/wallet-1/data/chain/bitcoin/mainnet/tls.cert"
2021-07-07 10:06:11 +00:00
LND_GRPC_MACAROON="/home/bob/.config/Zap/lnd/bitcoin/mainnet/wallet-1/data/chain/bitcoin/mainnet/admin.macaroon or HEXSTRING"
2020-10-02 17:53:55 +00:00
# LndRestWallet
LND_REST_ENDPOINT=https://127.0.0.1:8080/
2020-04-25 21:39:30 +00:00
LND_REST_CERT="/home/bob/.config/Zap/lnd/bitcoin/mainnet/wallet-1/data/chain/bitcoin/mainnet/tls.cert"
2021-07-07 10:06:11 +00:00
LND_REST_MACAROON="/home/bob/.config/Zap/lnd/bitcoin/mainnet/wallet-1/data/chain/bitcoin/mainnet/admin.macaroon or HEXSTRING"
2020-04-25 21:39:30 +00:00
2020-10-02 17:53:55 +00:00
# LNPayWallet
2021-04-11 20:06:39 +00:00
LNPAY_API_ENDPOINT=https://api.lnpay.co/v1/
# Secret API Key under developers tab
2020-04-16 15:10:53 +00:00
LNPAY_API_KEY=LNPAY_API_KEY
# Wallet Admin in Wallet Access Keys
LNPAY_WALLET_KEY=LNPAY_ADMIN_KEY
2020-04-03 10:24:49 +00:00
2020-10-02 17:53:55 +00:00
# LntxbotWallet
LNTXBOT_API_ENDPOINT=https://lntxbot.com/
LNTXBOT_KEY=LNTXBOT_ADMIN_KEY
2019-12-18 13:44:58 +00:00
2020-10-02 17:53:55 +00:00
# OpenNodeWallet
2020-01-12 00:46:09 +00:00
OPENNODE_API_ENDPOINT=https://api.opennode.com/
OPENNODE_KEY=OPENNODE_ADMIN_KEY