1
0

Upgrade LiT to v0.6.2 (includes bugfix) (#602)

* Upgrade Lightning Terminal to v0.6.2-alpha

Closes btcpayserver/btcpayserver#3459

* Add LIT_PASSWD to .env

* Fix and simplify LiT nginx config

See lightninglabs/lightning-terminal#306.

Fixes btcpayserver/btcpayserver-docker#601

* Mount correct LiT data directory

Fixes btcpayserver/btcpayserver-docker#592
This commit is contained in:
d11n
2022-02-16 14:24:05 +01:00
committed by GitHub
parent febdf5a686
commit 79df28b6ed
5 changed files with 20 additions and 29 deletions

View File

@@ -119,16 +119,16 @@
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-Port 443;
proxy_set_header X-Forwarded-Proto https;
sub_filter_once off;
sub_filter_types *;
sub_filter 'src="/' 'src="/helipad/';
sub_filter 'href="/' 'href="/helipad/';
sub_filter '/image' '/helipad/image';
sub_filter '/pew' '/helipad/pew';
sub_filter '/image' '/helipad/image';
sub_filter '/pew' '/helipad/pew';
sub_filter '/boosts' '/helipad/boosts';
proxy_pass http://helipad:2112/;
@@ -144,15 +144,7 @@
proxy_pass http://lnd_lit:8080/;
}
location ~* ^/lnrpc.Lightning/ {
proxy_pass http://lnd_lit:8080;
}
location ~* ^/looprpc.SwapClient/ {
proxy_pass http://lnd_lit:8080;
}
location ~* ^/poolrpc.Trader/ {
location ~* ^/(ln|loop|pool|lit)rpc\. {
proxy_pass http://lnd_lit:8080;
}
{{ end }}

View File

@@ -384,7 +384,7 @@ We are trying to update our dependencies to run on `arm32v7` and `x64` boards. H
| podcastindexorg/podcasting20-helipad | v0.1.6 | [✔️](https://raw.githubusercontent.com/Podcastindex-org/helipad/v0.1.6/umbrel/Dockerfile) | [✔️](https://raw.githubusercontent.com/Podcastindex-org/helipad/v0.1.6/umbrel/Dockerfile) | [✔️](https://raw.githubusercontent.com/Podcastindex-org/helipad/v0.1.6/umbrel/Dockerfile) | [Github](https://github.com/Podcastindex-org/helipad) - [DockerHub](https://hub.docker.com/r/podcastindexorg/podcasting20-helipad) |
| jvandrew/librepatron | 0.7.39 | [✔️](https://raw.githubusercontent.com/JeffVandrewJr/patron/v0.7.39/Dockerfile) | ️❌ | ️❌ | [Github](https://github.com/JeffVandrewJr/patron) - [DockerHub](https://hub.docker.com/r/jvandrew/librepatron) |
| jvandrew/isso | atron.22 | [✔️](https://raw.githubusercontent.com/JeffVandrewJr/isso/patron.22/Dockerfile) | ️❌ | ️❌ | [Github](https://github.com/JeffVandrewJr/isso) - [DockerHub](https://hub.docker.com/r/jvandrew/isso) |
| lightninglabs/lightning-terminal | v0.6.1-alpha-path-prefix | [✔️](https://raw.githubusercontent.com/lightninglabs/lightning-terminal/v0.6.1-alpha/Dockerfile) | ️❌ | ️❌ | [Github](https://github.com/lightninglabs/lightning-terminal) - [DockerHub](https://hub.docker.com/r/lightninglabs/lightning-terminal) |
| lightninglabs/lightning-terminal | v0.6.2-alpha-path-prefix | [✔️](https://raw.githubusercontent.com/lightninglabs/lightning-terminal/v0.6.2-alpha/Dockerfile) | ️❌ | ️❌ | [Github](https://github.com/lightninglabs/lightning-terminal) - [DockerHub](https://hub.docker.com/r/lightninglabs/lightning-terminal) |
| kukks/nnostr-relay | v0.0.7 | [✔️](https://raw.githubusercontent.com/kukks/nnostr/Relay/v0.0.7/Relay/Dockerfile) | [✔️](https://raw.githubusercontent.com/kukks/nnostr/Relay/v0.0.7/Relay/Dockerfile) | [✔️](https://raw.githubusercontent.com/kukks/nnostr/Relay/v0.0.7/Relay/Dockerfile) | [Github](https://github.com/kukks/nnostr) - [DockerHub](https://hub.docker.com/r/kukks/nnostr-relay) |
| sphinxlightning/sphinx-relay | v2.2.0 | [✔️](https://raw.githubusercontent.com/stakwork/sphinx-relay/v2.2.0/Dockerfile) | ️❌ | [✔️](https://raw.githubusercontent.com/stakwork/sphinx-relay/v2.2.0/Dockerfile) | [Github](https://github.com/stakwork/sphinx-relay) - [DockerHub](https://hub.docker.com/r/sphinxlightning/sphinx-relay) |
| dennisreimann/tallycoin_connect | v1.7.0 | [✔️](https://raw.githubusercontent.com/dennisreimann/tallycoin_connect/v1.7.0/Dockerfile) | [✔️](https://raw.githubusercontent.com/dennisreimann/tallycoin_connect/v1.7.0/Dockerfile.arm32v7) | [✔️](https://raw.githubusercontent.com/dennisreimann/tallycoin_connect/v1.7.0/Dockerfile.arm64v8) | [Github](https://github.com/dennisreimann/tallycoin_connect) - [DockerHub](https://hub.docker.com/r/dennisreimann/tallycoin_connect) |

View File

@@ -717,7 +717,7 @@ DOCKERFILE="Dockerfile"
echo "Building fireflyiii/core:latest"
git clone https://dev.azure.com/Firefly-III/_git/MainImage core
cd core
git checkout
git checkout
cd "$(dirname $DOCKERFILE)"
docker build -f "$DOCKERFILE" -t "fireflyiii/core:latest" .
cd - && cd ..
@@ -780,14 +780,14 @@ cd - && cd ..
# Build lightning-terminal
# https://raw.githubusercontent.com/lightninglabs/lightning-terminal/v0.6.1-alpha/Dockerfile
# https://raw.githubusercontent.com/lightninglabs/lightning-terminal/v0.6.2-alpha/Dockerfile
DOCKERFILE="Dockerfile"
echo "Building lightninglabs/lightning-terminal:v0.6.1-alpha-path-prefix"
echo "Building lightninglabs/lightning-terminal:v0.6.2-alpha-path-prefix"
git clone https://github.com/lightninglabs/lightning-terminal lightning-terminal
cd lightning-terminal
git checkout v0.6.1-alpha
git checkout v0.6.2-alpha
cd "$(dirname $DOCKERFILE)"
docker build -f "$DOCKERFILE" -t "lightninglabs/lightning-terminal:v0.6.1-alpha-path-prefix" .
docker build -f "$DOCKERFILE" -t "lightninglabs/lightning-terminal:v0.6.2-alpha-path-prefix" .
cd - && cd ..
@@ -1135,5 +1135,3 @@ git checkout master
cd "$(dirname $DOCKERFILE)"
docker build -f "$DOCKERFILE" -t "romanornr/docker-viacoin:0.15.2" .
cd - && cd ..

View File

@@ -4,12 +4,12 @@ services:
environment:
BTCPAY_EXTERNALSERVICES: "Lightning Terminal:${BTCPAY_PROTOCOL:-https}://${BTCPAY_HOST}/lit/;"
lnd_lit:
image: "lightninglabs/lightning-terminal:v0.6.1-alpha-path-prefix"
image: "lightninglabs/lightning-terminal:v0.6.2-alpha-path-prefix"
restart: unless-stopped
expose:
- "8080"
volumes:
- "lnd_lit_datadir:/data/lit"
- "lnd_lit_datadir:/root"
- "lnd_bitcoin_datadir:/data/lnd:ro"
links:
- bitcoind

View File

@@ -54,9 +54,9 @@ install_tooling() {
btcpay_expand_variables() {
BTCPAY_CRYPTOS=""
for i in "$BTCPAYGEN_CRYPTO1" "$BTCPAYGEN_CRYPTO2" "$BTCPAYGEN_CRYPTO3" "$BTCPAYGEN_CRYPTO4" "$BTCPAYGEN_CRYPTO5" "$BTCPAYGEN_CRYPTO5" "$BTCPAYGEN_CRYPTO6" "$BTCPAYGEN_CRYPTO7" "$BTCPAYGEN_CRYPTO8"
do
if [ ! -z "$i" ]; then
if [ ! -z "$BTCPAY_CRYPTOS" ]; then
do
if [ ! -z "$i" ]; then
if [ ! -z "$BTCPAY_CRYPTOS" ]; then
BTCPAY_CRYPTOS="$BTCPAY_CRYPTOS;"
fi
BTCPAY_CRYPTOS="$BTCPAY_CRYPTOS$i"
@@ -108,7 +108,8 @@ TOR_RELAY_NICKNAME=$TOR_RELAY_NICKNAME
TOR_RELAY_EMAIL=$TOR_RELAY_EMAIL
EPS_XPUB=$EPS_XPUB
LND_WTCLIENT_SWEEP_FEE=$LND_WTCLIENT_SWEEP_FEE
FIREFLY_HOST=$FIREFLY_HOST" > $BTCPAY_ENV_FILE
FIREFLY_HOST=$FIREFLY_HOST
LIT_PASSWD=$LIT_PASSWD" > $BTCPAY_ENV_FILE
env | grep ^BWT_ >> $BTCPAY_ENV_FILE || true
}