From 38942a19b1c4574188b3b1c7d1dd01d79875335c Mon Sep 17 00:00:00 2001 From: dni Date: Fri, 12 Aug 2022 11:59:06 +0200 Subject: [PATCH 1/2] add lnbits docker build to repo --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8d6ad84..7e56cd6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,5 +7,7 @@ jobs: - uses: actions/checkout@v2 - name: Run tests run: | + git clone https://github.com/lnbits/lnbits-legend.git + docker build -t lnbits-legend lnbits-legend chmod +x ./tests ./tests From 5faef13eb5dd8caf0f46624b8f324d29bfc48f5b Mon Sep 17 00:00:00 2001 From: dni Date: Fri, 12 Aug 2022 13:57:36 +0200 Subject: [PATCH 2/2] re-add docker build into description --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index ce70dc3..51749e6 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,9 @@ poetry run uvicorn --host 0.0.0.0 --port 5000 --reload # usage get the regtest enviroment ready ```console +git clone git@github.com:lnbits/lnbits-legend.git ~/repos/lnbits-legend +cd ~/repos/lnbits-legend +docker build -t lnbits-legend . mkdir ~/repos/lnbits-legend/docker git clone git@github.com:lnbits/legend-regtest-enviroment.git ~/repos/lnbits-legend/docker cd ~/repos/lnbits-legend/docker @@ -57,6 +60,9 @@ lncli-sim 2 listpeers * lnd-1 rest: http://localhost:8081/ * lnbits: http://localhost:5001/ +## latest release version from docker hub +if you want to use the latest version of lnbits uncomment L#11 in docker-compose.yaml + # debugging docker logs ```console docker logs lnbits-legend-lnbits-1 -f