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