docker: add an extra listener for localhost

Make sure the lncli command can be used inside of the container without
needing to specify the --rpcserver flag all the time. Issue: #4937
This commit is contained in:
Vlad Stan committed 2021-01-21 12:24:28 +02:00
1 parent b20afc0679
commit 3ad6ff1084
1 file changed
+1
+1
View File
@@ -65,5 +65,6 @@ exec lnd \
"--$BACKEND.rpcuser"="$RPCUSER" \
"--$BACKEND.rpcpass"="$RPCPASS" \
"--rpclisten=$HOSTNAME:10009" \
"--rpclisten=localhost:10009" \
--debuglevel="$DEBUG" \
"$@"