lndmanage/docker
2021-02-21 18:56:55 +09:00
..
lndmanage Install python-wheel in docker build container 2021-02-21 18:56:55 +09:00
.gitignore docker: drop docker-compose dependency 2019-04-26 20:00:56 +02:00
_settings.sh docker: review scripts with shellcheck 2019-12-07 20:11:43 +01:00
build.sh docker: review scripts with shellcheck 2019-12-07 20:11:43 +01:00
clean.sh docker: review scripts with shellcheck 2019-12-07 20:11:43 +01:00
inspect.sh docker: review scripts with shellcheck 2019-12-07 20:11:43 +01:00
lndmanage.sh docker: review scripts with shellcheck 2019-12-07 20:11:43 +01:00
README.md introduce a separate docker readme and link to it from the main readme 2019-04-28 20:03:35 +02:00

Docker

To run lndmanage from a docker container:

# you should first review ./lndmanage/home/config_template.ini
# note that paths are relevant to situation inside docker and we run under root
# so $HOME directory is /root

# build the container
./build.sh 

# if you have local lnd node on host machine, point LND_HOME to your actual lnd directory:
export LND_HOME=~/.lnd

# or alternatively if you have remote lnd node, specify paths to auth files explicitly:
# export TLS_CERT_FILE=/path/to/tls.cert
# export ADMIN_MACAROON_FILE=/path/to/admin.macaroon  
# export LND_GRPC_HOST=<remoteip>:10009

# look into _settings.sh for more details on container configuration

# run lndmanage from the container: 
./lndmanage.sh status

# lndmanage cache will be mapped to host folder at ./_volumes/lndmanage-cache

To start from scratch:

./clean.sh
./build.sh --no-cache