Update DOCKER_INSTALL.md

This commit is contained in:
chloehjung15 2023-02-01 15:47:42 +13:00 committed by GitHub
parent 9ebc75671c
commit 4cb0351f14
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,6 +10,7 @@
### Set up the boltcard server ### Set up the boltcard server
edit `.env` to set up the database connection edit `.env` to set up the database connection
edit `settings.sql` to set up [bolt card system settings](SETTINGS.md) edit `settings.sql` to set up [bolt card system settings](SETTINGS.md)
- Put the `tls.cert` file and `admin.macaroon` files in the project root directory and in the settings.sql, set the paths to the files to `/boltcard/tls.cert` and `/boltcard/admin.macaroon`
edit `Caddyfile` to set the boltcard domain name edit `Caddyfile` to set the boltcard domain name
### https setup ### https setup
@ -36,5 +37,5 @@ To delete the database and reset the docker volume, run `docker-compose down --v
#### running create bolt card command #### running create bolt card command
- `docker exec boltcard_main createboltcard/createboltcard` to see options - `docker exec boltcard_main createboltcard/createboltcard` to see options
- `docker exec boltcard_main createboltcard/createboltcard -enable -allow_neg_bal -tx_max=1000 -day_max=10000 -name=card_1` for example - `docker exec boltcard_main createboltcard/createboltcard -enable -tx_max=1000 -day_max=10000 -name=card_1` for example
- this will give you a one-time link in text and QR code form - this will give you a one-time link in text and QR code form