Configures base URL and default extensions
Sets the LNBITS_BASEURL based on the domain variable and configures forwarded IPs. Removes default installation of extensions and keeps admin and user extensions configuration to streamline the initial setup.
This commit is contained in:
parent
f0385dbeb9
commit
c2586e5814
1 changed files with 4 additions and 3 deletions
|
|
@ -25,6 +25,8 @@ in
|
||||||
LNBITS_ADMIN_UI = "true";
|
LNBITS_ADMIN_UI = "true";
|
||||||
AUTH_ALLOWED_METHODS = "user-id-only, username-password";
|
AUTH_ALLOWED_METHODS = "user-id-only, username-password";
|
||||||
LNBITS_BACKEND_WALLET_CLASS = "FakeWallet";
|
LNBITS_BACKEND_WALLET_CLASS = "FakeWallet";
|
||||||
|
LNBITS_BASEURL="https://lnbits.${domain}/";
|
||||||
|
FORWARDED_ALLOW_IPS = "*";
|
||||||
LNBITS_SITE_TITLE = "AIO";
|
LNBITS_SITE_TITLE = "AIO";
|
||||||
LNBITS_SITE_TAGLINE = "Open Source Lightning Payments Platform";
|
LNBITS_SITE_TAGLINE = "Open Source Lightning Payments Platform";
|
||||||
LNBITS_SITE_DESCRIPTION = "A lightning wallet for the community";
|
LNBITS_SITE_DESCRIPTION = "A lightning wallet for the community";
|
||||||
|
|
@ -32,11 +34,10 @@ in
|
||||||
LNBITS_DEFAULT_WALLET_NAME = "AIO Wallet";
|
LNBITS_DEFAULT_WALLET_NAME = "AIO Wallet";
|
||||||
LNBITS_EXTENSIONS_MANIFESTS =
|
LNBITS_EXTENSIONS_MANIFESTS =
|
||||||
"https://raw.githubusercontent.com/lnbits/lnbits-extensions/main/extensions.json";
|
"https://raw.githubusercontent.com/lnbits/lnbits-extensions/main/extensions.json";
|
||||||
LNBITS_EXTENSIONS_DEFAULT_INSTALL =
|
# LNBITS_EXTENSIONS_DEFAULT_INSTALL =
|
||||||
"nostrclient,nostrmarket,nostrrelay,lnurlp,events";
|
# "nostrclient,nostrmarket,nostrrelay,lnurlp,events";
|
||||||
LNBITS_ADMIN_EXTENSIONS = "ngrok,nostrclient,nostrrelay";
|
LNBITS_ADMIN_EXTENSIONS = "ngrok,nostrclient,nostrrelay";
|
||||||
LNBITS_USER_DEFAULT_EXTENSIONS = "lnurlp,nostrmarket,events";
|
LNBITS_USER_DEFAULT_EXTENSIONS = "lnurlp,nostrmarket,events";
|
||||||
FORWARDED_ALLOW_IPS = "*";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue