Commit source

This commit is contained in:
Luke Childs 2022-06-07 10:54:44 +07:00
parent 13f7ce0612
commit e510fcc6b6
3 changed files with 26 additions and 25 deletions

View File

@ -6,30 +6,30 @@ services:
APP_HOST: $APP_CORE_LIGHTNING_IP
APP_PORT: $APP_CORE_LIGHTNING_PORT
# app:
# build:
# dockerfile: ./Dockerfile
# context: ./
# command: npm run dev:backend
# restart: on-failure
# volumes:
# - ${APP_DATA_DIR}/data/app:/data
# environment:
# PORT: "${APP_CORE_LIGHTNING_PORT}"
# VUE_APP_API_URL:
# BACKUP_STATUS_FILE: /data/backup-status.json
# LND_REST_HIDDEN_SERVICE: rest.onion
# LND_GRPC_HIDDEN_SERVICE: grpc.onion
# LIGHTNING_NETWORK: "regtest"
# LIGHTNING_PORT: 8001
# JSON_STORE_FILE: /data/state.json
# TOR_PROXY_IP: tor
# TOR_PROXY_PORT: 9050
# ports:
# - "${APP_CORE_LIGHTNING_PORT}:${APP_CORE_LIGHTNING_PORT}"
# networks:
# default:
# ipv4_address: ${APP_CORE_LIGHTNING_IP}
app:
build:
dockerfile: ./src/Dockerfile
context: ./src
command: npm run dev:backend
restart: on-failure
volumes:
- ${APP_DATA_DIR}/data/app:/data
environment:
PORT: "${APP_CORE_LIGHTNING_PORT}"
VUE_APP_API_URL:
BACKUP_STATUS_FILE: /data/backup-status.json
LND_REST_HIDDEN_SERVICE: rest.onion
LND_GRPC_HIDDEN_SERVICE: grpc.onion
LIGHTNING_NETWORK: "regtest"
LIGHTNING_PORT: 8001
JSON_STORE_FILE: /data/state.json
TOR_PROXY_IP: tor
TOR_PROXY_PORT: 9050
ports:
- "${APP_CORE_LIGHTNING_PORT}:${APP_CORE_LIGHTNING_PORT}"
networks:
default:
ipv4_address: ${APP_CORE_LIGHTNING_IP}
rtl:

1
core-lightning/src Submodule

@ -0,0 +1 @@
Subproject commit 3fa4a87a9c4ae948b69dcbc8af428fb0f173528b

View File

@ -4,4 +4,4 @@ HiddenServicePort 80 $APP_PROXY_HOSTNAME:$APP_PROXY_PORT
# Core Lightning REST Hidden Service
HiddenServiceDir /data/app-$APP_ID-rest
HiddenServicePort 80 $APP_CORE_LIGHTNING_REST_IP:$APP_CORE_LIGHTNING_REST_PORT
HiddenServicePort $APP_CORE_LIGHTNING_REST_PORT $APP_CORE_LIGHTNING_REST_IP:$APP_CORE_LIGHTNING_REST_PORT