mirror of
https://github.com/edouardparis/lntop
synced 2024-11-06 03:20:21 +00:00
9e50120dec
Instead of relying on docker-compose.yml, we use bash to pass configuration to docker directly via commnad-line args. We also use config template and prior each run we evaluate it with current environment. So that settings like LND_GRPC_HOST can be specified prior each run without a need to rebuild.
12 lines
182 B
Bash
Executable File
12 lines
182 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
cd "$(dirname "${BASH_SOURCE[0]}")"
|
|
|
|
. _settings.sh
|
|
|
|
if [[ $# -eq 0 ]]; then
|
|
exec ./lntop.sh inspect ${PREFERRED_SHELL}
|
|
else
|
|
exec ./lntop.sh inspect "$@"
|
|
fi
|