move to settings table in database
This commit is contained in:
parent
226768557b
commit
d82c17e0a1
1 changed files with 10 additions and 9 deletions
|
|
@ -43,7 +43,8 @@ $ xxd -r -p SendPaymentV2.macaroon.hex SendPaymentV2.macaroon
|
||||||
```
|
```
|
||||||
|
|
||||||
### setup the boltcard server
|
### setup the boltcard server
|
||||||
edit `boltcard.service` in the section named `boltcard service settings`
|
edit `boltcard.service` to set up the database connection
|
||||||
|
edit `insert_settings.sql` to set up [bolt card system settings](SETTINGS.md)
|
||||||
edit `Caddyfile` to set the boltcard domain name
|
edit `Caddyfile` to set the boltcard domain name
|
||||||
|
|
||||||
### database creation
|
### database creation
|
||||||
|
|
@ -95,23 +96,23 @@ uri:/invoicesrpc.Invoices/SubscribeSingleInvoice > SendAddMonitor.macaroon.hex
|
||||||
|
|
||||||
$ xxd -r -p SendAddMonitor.macaroon.hex SendAddMonitor.macaroon
|
$ xxd -r -p SendAddMonitor.macaroon.hex SendAddMonitor.macaroon
|
||||||
```
|
```
|
||||||
`Environment="LN_MACAROON_FILE=..."` update to point to new SendAddMonitor.macaroon
|
`LN_MACAROON_FILE=...` (settings table) - update to point to new SendAddMonitor.macaroon
|
||||||
`Environment="FUNCTION_LNURLP=ENABLE`
|
`FUNCTION_LNURLP=ENABLE` (settings table)
|
||||||
`cards.lnurlp_enable='Y'` in the database record
|
`cards.lnurlp_enable='Y'` (card record)
|
||||||
|
|
||||||
the lightning address will be *{cards.card_name}@{HOST_DOMAIN}*
|
the lightning address will be *{cards.card_name}@{HOST_DOMAIN}*
|
||||||
#### email notifications (optional)
|
#### email notifications (optional)
|
||||||
add email notifications for payments and fund receipt
|
add email notifications for payments and fund receipt
|
||||||
`Environment="AWS_SES_ID=..."`
|
`AWS_SES_ID=..."` (settings table)
|
||||||
`Environment="AWS_SES_SECRET=..."`
|
`AWS_SES_SECRET=..."` (settings table)
|
||||||
`Environment="AWS_SES_EMAIL_FROM=..."`
|
`AWS_SES_EMAIL_FROM=..."` (settings table)
|
||||||
`Environment="FUNCTION_EMAIL=ENABLE"`
|
`FUNCTION_EMAIL=ENABLE"` (settings table)
|
||||||
`cards.email_address='card.notifications@yourdomain.com'`
|
`cards.email_address='card.notifications@yourdomain.com'`
|
||||||
`cards.email_enable='Y'`
|
`cards.email_enable='Y'`
|
||||||
|
|
||||||
the email address will be *{cards.email_address}@{HOST_DOMAIN}*
|
the email address will be *{cards.email_address}@{HOST_DOMAIN}*
|
||||||
#### production use
|
#### production use
|
||||||
ensure that LOG_LEVEL is set to PRODUCTION
|
ensure that LOG_LEVEL is set to PRODUCTION (settings table)
|
||||||
ensure that all secrets are minimally available
|
ensure that all secrets are minimally available
|
||||||
ensure that you have good operational security practices
|
ensure that you have good operational security practices
|
||||||
monitor the system for unusual activity
|
monitor the system for unusual activity
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue