Skip to content

Instantly share code, notes, and snippets.

@zerofeerouting
Last active February 14, 2022 15:47
Show Gist options
  • Save zerofeerouting/74e4a412f0ee4fdb5183c9d451db5881 to your computer and use it in GitHub Desktop.
Save zerofeerouting/74e4a412f0ee4fdb5183c9d451db5881 to your computer and use it in GitHub Desktop.
BTCPay Server docker fragment to auto-compact the channels.db on LND startup
version: "3"
services:
lnd_bitcoin:
environment:
LND_EXTRA_ARGS: |
db.bolt.auto-compact=true
db.bolt.auto-compact-min-age=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment