Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Take LIGHTNINGD_NETWORK env variable in Dockerfile.
Before this, docker image will never detects that `lightning-rpc` was created if it is running in regtest or testnet, because the file will be created under subfolder for each network name, and entrypoint does not check "lightning-rpc" file in those folders. By specifying `LIGHTNINGD_NETWORK` environment var in dockerfile, we can now check correct path. Changelog-Added: Docker build now includes `LIGHTNINGD_NETWORK` ENV variable which defaults to "bitcoin". An user can override this (e.g. by `-e` option in `docker run`) to run docker container in regtest or testnet or any valid argument to `--network`.
- Loading branch information