mirror of
https://github.com/aljazceru/lnd-manageJ.git
synced 2026-01-25 08:54:21 +01:00
listen on all IPs
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user