Lnbits
- Documentation: https://docs.lnbits.org
- Additional parameters can be configured: lnbits-startos .env
Configuration
Users
The first user that will be created is the superuser
. Use this account
only for administration of the server,
For day to day usage of lightning wallets, create additional users, through self registration.
After that It's recommended to block the self registration by setting
Allowed Users
: Add all the IDs created (IDs, not Usernames).Allow creation of new users
: Toggle off
The copied userid paste into the Allowed Users:
Note: The config is stored in settings
table in the lnbits's database.sqllite3
.
You may want to store it in docker-compose.yml environment variable (have not
tested):
# Comma separated users allowed to log in
LNBITS_ALLOWED_USERS: "${LNBITS_ALLOWED_USERS}"
LNBITS_ALLOW_NEW_ACCOUNTS: "${LNBITS_ALLOW_NEW_ACCOUNTS:-True}"