Skip to content

Commit

Permalink
Fix/UI login bug (#97)
Browse files Browse the repository at this point in the history
* update ui to 0.4.0 release tag

* bump version and use ui hostname for lnmessage

* update ui to correct release commit
  • Loading branch information
Dominion5254 authored Aug 31, 2023
1 parent fa5c266 commit 82fdaed
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 5 deletions.
6 changes: 4 additions & 2 deletions docker_entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ _chld() {
export EMBASSY_IP=$(ip -4 route list match 0/0 | awk '{print $3}')
export PEER_TOR_ADDRESS=$(yq e '.peer-tor-address' /root/.lightning/start9/config.yaml)
export RPC_TOR_ADDRESS=$(yq e '.rpc-tor-address' /root/.lightning/start9/config.yaml)
export UI_TOR_ADDRESS=$(yq e '.web-ui-tor-address' /root/.lightning/start9/config.yaml)
export UI_LAN_ADDRESS=$(echo "$UI_TOR_ADDRESS" | sed 's/\.onion/\.local/')
export REST_TOR_ADDRESS=$(yq e '.rest-tor-address' /root/.lightning/start9/config.yaml)
export WATCHTOWER_TOR_ADDRESS=$(yq e '.watchtower-tor-address' /root/.lightning/start9/config.yaml)
export TOWERS_DATA_DIR=/root/.lightning/.watchtower
Expand Down Expand Up @@ -180,10 +182,10 @@ export APP_CORE_LIGHTNING_IP="0.0.0.0"
export APP_CONFIG_DIR="$/root/.lightning/data/app"
export APP_CORE_LIGHTNING_REST_PORT=3001
export APP_CORE_LIGHTNING_REST_CERT_DIR="/usr/local/libexec/c-lightning/plugins/c-lightning-REST/certs"
export DEVICE_DOMAIN_NAME=$RPC_LAN_ADDRESS
export DEVICE_DOMAIN_NAME=$UI_LAN_ADDRESS
export LOCAL_HOST=$REST_LAN_ADDRESS
export APP_CORE_LIGHTNING_COMMANDO_ENV_DIR="/root/.lightning"
export APP_CORE_LIGHTNING_REST_HIDDEN_SERVICE=$REST_TOR_ADDRESS
export APP_CORE_LIGHTNING_REST_HIDDEN_SERVICE=$UI_TOR_ADDRESS
export APP_CORE_LIGHTNING_WEBSOCKET_PORT=4269
export COMMANDO_CONFIG="/root/.lightning/.commando-env"
export APP_CORE_LIGHTNING_PORT=4500
Expand Down
2 changes: 1 addition & 1 deletion manifest.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
id: c-lightning
version: 23.02.2.7
version: 23.02.2.8
title: Core Lightning
license: BSD-MIT
wrapper-repo: https://github.com/Start9Labs/c-lightning-wrapper
Expand Down
9 changes: 9 additions & 0 deletions scripts/procedures/getConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,15 @@ export const [getConfig, setConfigMatcher] = compat.getConfigAndMatcher({
target: "tor-address",
interface: "rpc",
},
"web-ui-tor-address": {
name: "UI Tor Address",
description: "The Tor address of the cln-application interface",
type: "pointer",
subtype: "package",
"package-id": "c-lightning",
target: "tor-address",
interface: "web-ui",
},
"rest-tor-address": {
name: "C-Lightning-REST API Address",
description: "The Tor address of the C-Lightning-REST API",
Expand Down
2 changes: 1 addition & 1 deletion scripts/procedures/migrations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ export const migration: T.ExpectedExports.migration =
},
}
},
"23.02.2.7",
"23.02.2.8",
);


Expand Down

0 comments on commit 82fdaed

Please sign in to comment.