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 2021-01-21 12:24:28 +02:00
parent b20afc0679
commit 3ad6ff1084

@ -65,5 +65,6 @@ exec lnd \
"--$BACKEND.rpcuser"="$RPCUSER" \ "--$BACKEND.rpcuser"="$RPCUSER" \
"--$BACKEND.rpcpass"="$RPCPASS" \ "--$BACKEND.rpcpass"="$RPCPASS" \
"--rpclisten=$HOSTNAME:10009" \ "--rpclisten=$HOSTNAME:10009" \
"--rpclisten=localhost:10009" \
--debuglevel="$DEBUG" \ --debuglevel="$DEBUG" \
"$@" "$@"