From cfe2b43d2a94fdb508c47d81c33850b3ac6f8d17 Mon Sep 17 00:00:00 2001 From: Arc <33088785+arcbtc@users.noreply.github.com> Date: Fri, 9 Feb 2024 12:34:10 +0000 Subject: [PATCH] Improved env layout (#2226) * Improved env layout * Update .env.example --------- Co-authored-by: Vlad Stan --- .env.example | 44 +++++++++++++++++++++++--------------------- 1 file changed, 23 insertions(+), 21 deletions(-) diff --git a/.env.example b/.env.example index 2ed3d7f65..662c868c4 100644 --- a/.env.example +++ b/.env.example @@ -1,5 +1,28 @@ #For more information on .env files, their content and format: https://pypi.org/project/python-dotenv/ +###################################### +########### Admin Settings ########### +###################################### + +# Enable Admin GUI, available for the first user in LNBITS_ADMIN_USERS if available. +# Warning: Enabling this will make LNbits ignore most configurations in file. Only the +# configurations defined in `ReadOnlySettings` will still be read from the environment variables. +# The rest of the settings will be stored in your database and you will be able to change them +# only through the Admin UI. +# Disable this to make LNbits use this config file again. +LNBITS_ADMIN_UI=false + +# 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'" +# Choose from bitcoin, mint, flamingo, freedom, salvador, autumn, monochrome, classic, cyber +LNBITS_THEME_OPTIONS="classic, bitcoin, flamingo, freedom, mint, autumn, monochrome, salvador, cyber" +# LNBITS_CUSTOM_LOGO="https://lnbits.com/assets/images/logo/logo.svg" + +HOST=127.0.0.1 +PORT=5000 + ###################################### ########## Funding Source ############ ###################################### @@ -78,27 +101,6 @@ ECLAIR_PASS=eclairpw LNTIPS_API_KEY=LNTIPS_ADMIN_KEY LNTIPS_API_ENDPOINT=https://ln.tips -###################################### -########### Admin Settings ########### -###################################### - -# Enable Admin GUI, available for the first user in LNBITS_ADMIN_USERS if available -# Warning: Enabling this will make LNbits ignore this configuration file. Your settings will -# be stored in your database and you will be able to change them only through the Admin UI. -# Disable this to make LNbits use this config file again. -LNBITS_ADMIN_UI=false - -# 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'" -# Choose from bitcoin, mint, flamingo, freedom, salvador, autumn, monochrome, classic, cyber -LNBITS_THEME_OPTIONS="classic, bitcoin, flamingo, freedom, mint, autumn, monochrome, salvador, cyber" -# LNBITS_CUSTOM_LOGO="https://lnbits.com/assets/images/logo/logo.svg" - -HOST=127.0.0.1 -PORT=5000 - ###################################### ####### Auth Configurations ########## ######################################