diff --git a/README.md b/README.md index 1e5f543..4d4ec0e 100644 --- a/README.md +++ b/README.md @@ -159,6 +159,7 @@ Available `BTCPAYGEN_ADDITIONAL_FRAGMENTS` currently are: * [opt-save-storage-s](docker-compose-generator/docker-fragments/opt-save-storage-s.yml) will keep around 6 months of blocks (prune BTC for 50 GB) * [opt-save-storage-xs](docker-compose-generator/docker-fragments/opt-save-storage-xs.yml) will keep around 3 months of blocks (prune BTC for 25 GB) * [opt-save-storage-xxs](docker-compose-generator/docker-fragments/opt-save-storage-xxs.yml) will keep around 2 weeks of blocks (prune BTC for 5 GB) (lightning not supported) +* [opt-lnd-autocompact](docker-compose-generator/docker-fragments/opt-lnd-autocompact) will activate auto compacting of LND database. * [opt-lnd-autopilot](docker-compose-generator/docker-fragments/opt-lnd-autopilot.yml) will activate auto pilot on LND. (5 channels, 60% of allocation) * [opt-lnd-keysend](docker-compose-generator/docker-fragments/opt-lnd-keysend.yml) will activate keysend on LND. * [opt-lnd-wtclient](docker-compose-generator/docker-fragments/opt-lnd-wtclient.yml) will activate the watchtower client on LND. `LND_WTCLIENT_SWEEP_FEE` can be used to override the default 10 sat/byte justice transaction fee diff --git a/docker-compose-generator/docker-fragments/opt-lnd-autocompact.yml b/docker-compose-generator/docker-fragments/opt-lnd-autocompact.yml new file mode 100644 index 0000000..4f86de0 --- /dev/null +++ b/docker-compose-generator/docker-fragments/opt-lnd-autocompact.yml @@ -0,0 +1,7 @@ +version: "3" + +services: + lnd_bitcoin: + environment: + LND_EXTRA_ARGS: | + db.bolt.auto-compact=true