Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tweak docker entrypoint to support regtest, testnet #3813

Merged

Commits on Jul 7, 2020

  1. 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`.
    joemphilips committed Jul 7, 2020
    Configuration menu
    Copy the full SHA
    5debe5b View commit details
    Browse the repository at this point in the history