From 876feef53f94e7cfbbf27342ae918d177cd6cae6 Mon Sep 17 00:00:00 2001 From: wiz Date: Tue, 21 Mar 2023 18:10:37 +0900 Subject: [PATCH] Fix frontend docker entrypoint umbrel LND detection --- docker/frontend/entrypoint.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker/frontend/entrypoint.sh b/docker/frontend/entrypoint.sh index 1721bcad5..a913bedf5 100644 --- a/docker/frontend/entrypoint.sh +++ b/docker/frontend/entrypoint.sh @@ -10,7 +10,9 @@ cp /etc/nginx/nginx.conf /patch/nginx.conf sed -i "s/__MEMPOOL_FRONTEND_HTTP_PORT__/${__MEMPOOL_FRONTEND_HTTP_PORT__}/g" /patch/nginx.conf cat /patch/nginx.conf > /etc/nginx/nginx.conf -[ "${APP_LIGHTNING_NODE_PORT}" = "9735" ] && LIGHTNING=true +if [ "${LIGHTNING_DETECTED_PORT}" = "9735" ];then + export LIGHTNING=true +fi # Runtime overrides - read env vars defined in docker compose