2022-05-27 10:14:11 +00:00
|
|
|
version: "3.7"
|
|
|
|
|
|
|
|
services:
|
|
|
|
app_proxy:
|
|
|
|
environment:
|
|
|
|
APP_HOST: $APP_LIGHTNING_IP
|
|
|
|
APP_PORT: 3006
|
|
|
|
|
|
|
|
app:
|
2022-08-23 14:54:31 +00:00
|
|
|
image: getumbrel/umbrel-lightning:v1.0.4@sha256:6b8fd427901e297578bc6c72debf5d7cdac8ca3636580f6eea356eec8c164571
|
2022-05-27 10:14:11 +00:00
|
|
|
restart: on-failure
|
|
|
|
volumes:
|
|
|
|
- "${APP_LIGHTNING_NODE_DATA_DIR}:/data/.lnd"
|
|
|
|
- "${APP_DATA_DIR}/data/lightning:/data"
|
|
|
|
- "${UMBREL_ROOT}/statuses:/statuses"
|
|
|
|
environment:
|
|
|
|
PORT: "3006"
|
|
|
|
TOR_PROXY_IP: "${TOR_PROXY_IP}"
|
|
|
|
TOR_PROXY_PORT: "${TOR_PROXY_PORT}"
|
|
|
|
BITCOIN_HOST: "${APP_BITCOIN_NODE_IP}"
|
|
|
|
RPC_PORT: "${APP_BITCOIN_RPC_PORT}"
|
|
|
|
RPC_USER: "${APP_BITCOIN_RPC_USER}"
|
|
|
|
RPC_PASSWORD: "${APP_BITCOIN_RPC_PASS}"
|
|
|
|
LND_NETWORK: "${APP_BITCOIN_NETWORK}"
|
|
|
|
LND_HOST: "${APP_LIGHTNING_NODE_IP}"
|
2022-05-30 14:12:39 +00:00
|
|
|
LND_REST_HIDDEN_SERVICE: "${APP_LIGHTNING_REST_HIDDEN_SERVICE}"
|
|
|
|
LND_GRPC_HIDDEN_SERVICE: "${APP_LIGHTNING_GRPC_HIDDEN_SERVICE}"
|
2022-05-27 10:14:11 +00:00
|
|
|
TLS_FILE: "/data/.lnd/tls.cert"
|
|
|
|
MACAROON_DIR: "/data/.lnd/data/chain/bitcoin/${APP_BITCOIN_NETWORK}/"
|
|
|
|
CHANNEL_BACKUP_FILE: "/data/.lnd/data/chain/bitcoin/${APP_BITCOIN_NETWORK}/channel.backup"
|
|
|
|
BACKUP_STATUS_FILE: "/statuses/backup-status.json"
|
|
|
|
JSON_STORE_FILE: "/data/state.json"
|
2022-06-03 15:21:56 +00:00
|
|
|
DEVICE_DOMAIN_NAME: "${DEVICE_DOMAIN_NAME}"
|
2022-08-23 14:54:31 +00:00
|
|
|
EXPLORER_PORT: "${APP_MEMPOOL_PORT}"
|
|
|
|
EXPLORER_HIDDEN_SERVICE: "${APP_MEMPOOL_HIDDEN_SERVICE}"
|
2022-05-27 10:14:11 +00:00
|
|
|
networks:
|
|
|
|
default:
|
|
|
|
ipv4_address: $APP_LIGHTNING_IP
|
2022-10-10 07:06:54 +00:00
|
|
|
|
2022-05-27 10:14:11 +00:00
|
|
|
lnd:
|
2022-08-23 14:54:31 +00:00
|
|
|
hostname: "${DEVICE_DOMAIN_NAME}" # Needed so LND can generate a valid cert
|
2022-11-01 13:33:48 +00:00
|
|
|
image: lightninglabs/lnd:v0.15.4-beta@sha256:f5b19812ab7d28faa350838dac4bb88e7fcf9ae905e44d3539be41a97b80ca23
|
2022-05-27 10:14:11 +00:00
|
|
|
command: "${APP_LIGHTNING_COMMAND}"
|
|
|
|
user: 1000:1000
|
|
|
|
restart: on-failure
|
2022-05-30 12:41:51 +00:00
|
|
|
ports:
|
|
|
|
- "$APP_LIGHTNING_NODE_PORT:$APP_LIGHTNING_NODE_PORT"
|
|
|
|
- "$APP_LIGHTNING_NODE_REST_PORT:$APP_LIGHTNING_NODE_REST_PORT"
|
|
|
|
- "$APP_LIGHTNING_NODE_GRPC_PORT:$APP_LIGHTNING_NODE_GRPC_PORT"
|
2022-05-27 10:14:11 +00:00
|
|
|
volumes:
|
|
|
|
- "${APP_LIGHTNING_NODE_DATA_DIR}:/data/.lnd"
|
|
|
|
environment:
|
|
|
|
HOME: /data
|
|
|
|
networks:
|
|
|
|
default:
|
2022-06-25 13:13:45 +00:00
|
|
|
ipv4_address: $APP_LIGHTNING_NODE_IP
|
2022-10-25 14:23:21 +00:00
|
|
|
|
|
|
|
tor:
|
|
|
|
image: getumbrel/tor:0.4.7.8@sha256:2ace83f22501f58857fa9b403009f595137fa2e7986c4fda79d82a8119072b6a
|
|
|
|
user: "1000:1000"
|
|
|
|
restart: on-failure
|
|
|
|
volumes:
|
|
|
|
- ${APP_DATA_DIR}/torrc:/etc/tor/torrc:ro
|
|
|
|
- ${TOR_DATA_DIR}:/data
|
|
|
|
environment:
|
|
|
|
HOME: "/tmp"
|