djmelik / lndash

A simple web dashboard for lnd.
https://lightninglayer.com
GNU General Public License v3.0
118 stars 16 forks source link

listen to 0.0.0.0 rather than 127.0.0.1 #11

Closed hoangong closed 5 years ago

hoangong commented 5 years ago

I run this in a docker container, so I need it binds to 0.0.0.0 in order to access to it.

djmelik commented 5 years ago

Hi, you can bind the gunicorn process to 0.0.0.0 using the following parameters:

gunicorn -b 0.0.0.0 main:app

I have left this out from the instructions at this time as I plan to add further documentation on how to daemonize lndash and properly reverse proxy it through nginx. Please give it a go and let me know how it works, thanks!

hoangong commented 5 years ago

thanks