Browse Source
Update Core Lightning to support testnet, signet & regtest (#238)
Co-authored-by: Steven Briscoe <me@stevenbriscoe.com>
main
tanakei
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
10 additions and
4 deletions
-
core-lightning/docker-compose.yml
-
core-lightning/exports.sh
-
core-lightning/umbrel-app.yml
|
|
@ -57,6 +57,7 @@ services: |
|
|
|
- --bind-addr=${APP_CORE_LIGHTNING_DAEMON_IP}:9735 |
|
|
|
- --addr=statictor:${TOR_PROXY_IP}:29051 |
|
|
|
- --tor-service-password=${TOR_PASSWORD} |
|
|
|
- --network=${APP_CORE_LIGHTNING_BITCOIN_NETWORK} |
|
|
|
#- --grpc-port=${APP_CORE_LIGHTNING_DAEMON_GRPC_PORT} |
|
|
|
volumes: |
|
|
|
- "${APP_DATA_DIR}/data/lightningd:/data/.lightning" |
|
|
@ -72,4 +73,4 @@ services: |
|
|
|
- ${APP_DATA_DIR}/torrc:/etc/tor/torrc:ro |
|
|
|
- ${TOR_DATA_DIR}:/data |
|
|
|
environment: |
|
|
|
HOME: "/tmp" |
|
|
|
HOME: "/tmp" |
|
|
|
|
|
@ -8,5 +8,10 @@ export APP_CORE_LIGHTNING_DAEMON_GRPC_PORT="2105" |
|
|
|
|
|
|
|
export APP_CORE_LIGHTNING_REST_CERT_DIR="${EXPORTS_APP_DIR}/data/c-lightning-rest/certs" |
|
|
|
|
|
|
|
export APP_CORE_LIGHTNING_BITCOIN_NETWORK="${APP_BITCOIN_NETWORK}" |
|
|
|
if [[ "${APP_BITCOIN_NETWORK}" == "mainnet" ]]; then |
|
|
|
export APP_CORE_LIGHTNING_BITCOIN_NETWORK="bitcoin" |
|
|
|
fi |
|
|
|
|
|
|
|
rest_hidden_service_file="${EXPORTS_TOR_DATA_DIR}/app-${EXPORTS_APP_ID}-rest/hostname" |
|
|
|
export APP_CORE_LIGHTNING_REST_HIDDEN_SERVICE="$(cat "${rest_hidden_service_file}" 2>/dev/null || echo "notyetset.onion")" |
|
|
|
export APP_CORE_LIGHTNING_REST_HIDDEN_SERVICE="$(cat "${rest_hidden_service_file}" 2>/dev/null || echo "notyetset.onion")" |
|
|
|
|
|
@ -2,7 +2,7 @@ manifestVersion: 1.1 |
|
|
|
id: core-lightning |
|
|
|
category: Finance |
|
|
|
name: Core Lightning |
|
|
|
version: "0.11.1-build-4" |
|
|
|
version: "0.11.1-build-5" |
|
|
|
tagline: Run your personal Core Lightning node |
|
|
|
description: >- |
|
|
|
Get started with the Lightning network today with Core Lightning - a |
|
|
@ -38,4 +38,4 @@ defaultPassword: "" |
|
|
|
submitter: Umbrel |
|
|
|
submission: https://github.com/getumbrel/umbrel-apps/pull/7 |
|
|
|
releaseNotes: >- |
|
|
|
- Update RESTful API to add support for Liquidity Ads |
|
|
|
- Support for testnet, signet and regtest |