docker: Minor tweak to frontend entrypoint LND detection

This commit is contained in:
wiz 2023-03-21 21:50:46 +09:00
parent ae6a408c05
commit 75303c7a34
No known key found for this signature in database
GPG Key ID: A394E332255A6173

View File

@ -10,7 +10,7 @@ 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
if [ "${LIGHTNING_DETECTED_PORT}" = "9735" ];then
if [ "${LIGHTNING_DETECTED_PORT}" != "" ];then
export LIGHTNING=true
fi