From 7c8ac88f24094e9b706054289d7b843498607355 Mon Sep 17 00:00:00 2001 From: Damian Mee Date: Wed, 6 May 2020 03:17:31 +0800 Subject: [PATCH] Added: 0.10/variant-monitoring.patch --- 0.10/variant-monitoring.patch | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/0.10/variant-monitoring.patch b/0.10/variant-monitoring.patch index b8a1488..9c08b4f 100644 --- a/0.10/variant-monitoring.patch +++ b/0.10/variant-monitoring.patch @@ -1,17 +1,17 @@ diff --git Dockerfile Dockerfile -index 131b6c6..e05e0a6 100644 +index 9ae5e1e..c63bd6b 100644 --- Dockerfile +++ Dockerfile -@@ -29,7 +29,7 @@ ARG TAGS_LND="signrpc chainrpc" - ARG TAGS_STATIC="osusergo netgo static_build" +@@ -24,7 +24,7 @@ ARG PKG=github.com/lightningnetwork/lnd + ARG TAGS_BASE="autopilotrpc signrpc walletrpc chainrpc invoicesrpc watchtowerrpc" # Added by yours truly (@lncm) -ARG TAGS_EXTRA="" +ARG TAGS_EXTRA="monitoring" - # Force Go to use the cgo based DNS resolver. This is required to ensure DNS - # queries required to connect to linked containers succeed -@@ -285,5 +285,11 @@ VOLUME ${DIR}/.lnd/ + + # +@@ -253,5 +253,11 @@ VOLUME $DIR/.lnd/ # Expose lnd ports (rest, p2p, watchtower, rpc respectively) EXPOSE 8080 9735 9911 10009 @@ -19,7 +19,7 @@ index 131b6c6..e05e0a6 100644 +EXPOSE 8989 + # Specify the start command and entrypoint as the lnd daemon - ENTRYPOINT ["lnd"] + ENTRYPOINT ["/bin/lnd"] + +# Okay to hardcode them here, as it's in a variant that specifically wants Prometheus +CMD ["--prometheus.enable", "--prometheus.listen=0.0.0.0:8989"]