Add docker hostname to LND cert

This commit is contained in:
Taylor Helsper 2022-11-04 19:08:52 -05:00
parent dfb2aaa96c
commit 18e61f4934

View File

@ -80,6 +80,7 @@ if [ -f /var/lib/tor/mynode_lnd/hostname ]; then
echo "[Application Options]" >> /mnt/hdd/mynode/lnd/lnd.conf echo "[Application Options]" >> /mnt/hdd/mynode/lnd/lnd.conf
ONION_URL=$(cat /var/lib/tor/mynode_lnd/hostname) ONION_URL=$(cat /var/lib/tor/mynode_lnd/hostname)
echo "tlsextradomain=$ONION_URL" >> /mnt/hdd/mynode/lnd/lnd.conf echo "tlsextradomain=$ONION_URL" >> /mnt/hdd/mynode/lnd/lnd.conf
echo "tlsextradomain=host.docker.internal" >> /mnt/hdd/mynode/lnd/lnd.conf
echo "" >> /mnt/hdd/mynode/lnd/lnd.conf echo "" >> /mnt/hdd/mynode/lnd/lnd.conf
fi fi