dockerize the boltcard service with bundled postgres. updated readme accordingly

This commit is contained in:
Orfeas Theofanis 2022-08-28 13:59:10 +03:00
parent 009d3e0c3a
commit e83035e175
5 changed files with 121 additions and 1 deletions

20
.env Normal file
View file

@ -0,0 +1,20 @@
HOST_DOMAIN=card.yourdomain.com
# Generate a new key with
# hexdump -vn16 -e'4/4 "%08x" 1 "\n"' /dev/random
BC_AES_DECRYPT_KEY=00000000000000000000000000000000
BC_MIN_WITHDRAW_SATS=1
BC_MAX_WITHDRAW_SATS=1000000
BC_FEE_LIMIT_SAT=10
LN_HOST=ln.yourdomain.com
LN_GRPC_PORT=10009
# optional - to only allow payments to this LN node
LN_TESTNODE=YOUR_LN_NODE_ID
DB_PORT=5432
DB_USER=cardapp
DB_PASSWORD=321someRandomPasscodeWithSaltAndPepperAndThyme123
DB_NAME=card_db