listen on all IPs

This commit is contained in:
Carsten Otto
2022-05-17 14:44:42 +02:00
parent 05181df8ae
commit fcdede81ba

View File

@@ -12,11 +12,11 @@ RUN echo "host=localhost" >> /root/.config/lnd-manageJ.conf
RUN echo "macaroon_file=/root/.lnd/data/chain/bitcoin/testnet/admin.macaroon" >> /root/.config/lnd-manageJ.conf
EXPOSE 8081
RUN echo "server.address=0.0.0.0" >> /root/override.properties
CMD /etc/init.d/postgresql start && \
sudo -u postgres psql -c "CREATE USER bitcoin WITH PASSWORD 'unset'" && \
sudo -u postgres createdb lndmanagej -O bitcoin && \
java -jar application/build/libs/application-boot.jar
java -jar application/build/libs/application-boot.jar --spring.config.location=classpath:application.properties,/root/override.properties
# docker build -t lnd-managej .
# docker run --network host -v /home/xxx/.lnd/:/root/.lnd lnd-managej