From 494e6933e14fa5cee47d5a82be7fb83788518303 Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Sat, 14 Jul 2018 02:07:39 +0900 Subject: [PATCH] restart lnd if crash --- docker-compose-generator/docker-fragments/bitcoin-lnd.yml | 1 + docker-compose-generator/docker-fragments/litecoin-lnd.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/docker-compose-generator/docker-fragments/bitcoin-lnd.yml b/docker-compose-generator/docker-fragments/bitcoin-lnd.yml index 270860e..b8107c3 100644 --- a/docker-compose-generator/docker-fragments/bitcoin-lnd.yml +++ b/docker-compose-generator/docker-fragments/bitcoin-lnd.yml @@ -4,6 +4,7 @@ services: lnd_bitcoin: image: btcpayserver/lnd:0.4.2.0 container_name: btcpayserver_lnd_bitcoin + restart: unless-stopped environment: LND_CHAIN: "btc" LND_ENVIRONMENT: "${NBITCOIN_NETWORK:-regtest}" diff --git a/docker-compose-generator/docker-fragments/litecoin-lnd.yml b/docker-compose-generator/docker-fragments/litecoin-lnd.yml index 6d5998e..1b09aeb 100644 --- a/docker-compose-generator/docker-fragments/litecoin-lnd.yml +++ b/docker-compose-generator/docker-fragments/litecoin-lnd.yml @@ -4,6 +4,7 @@ services: lnd_litecoin: image: btcpayserver/lnd:0.4.2.0 container_name: btcpayserver_lnd_litecoin + restart: unless-stopped environment: LND_CHAIN: "ltc" LND_ENVIRONMENT: "${NBITCOIN_NETWORK:-regtest}"