version: "3.7" services: app_proxy: environment: APP_HOST: $APP_CORE_LIGHTNING_IP APP_PORT: $APP_CORE_LIGHTNING_PORT app: image: getumbrel/umbrel-core-lightning:v0.1.0@sha256:8586dc018f82f5663a50a11c785ceeb025f9bf1e547372f18de4a1fb3f3641e2 command: npm run dev:backend restart: on-failure volumes: - ${APP_DATA_DIR}/data/lightningd:/lightningd - "${APP_CORE_LIGHTNING_REST_CERT_DIR}:/c-lightning-rest/certs" environment: PORT: "${APP_CORE_LIGHTNING_PORT}" LIGHTNING_HOST: ${APP_CORE_LIGHTNING_DAEMON_IP} LIGHTNING_NETWORK: bitcoin LIGHTNING_GRPC_PORT: ${APP_CORE_LIGHTNING_DAEMON_GRPC_PORT} LIGHTNING_REST_PORT: ${APP_CORE_LIGHTNING_REST_PORT} LIGHTNING_REST_MACAROON_PATH: "/c-lightning-rest/certs/access.macaroon" LIGHTNING_REST_HIDDEN_SERVICE: http://${APP_CORE_LIGHTNING_REST_HIDDEN_SERVICE} LOCAL_HOST: http://${DEVICE_DOMAIN_NAME} CA_CERT: /lightningd/bitcoin/ca.pem CLIENT_KEY: /lightningd/bitcoin/client-key.pem CLIENT_CERT: /lightningd/bitcoin/client.pem networks: default: ipv4_address: ${APP_CORE_LIGHTNING_IP} c-lightning-rest: image: saubyk/c-lightning-rest:0.9.0@sha256:00b40443f1f455378587abb37649fdb7c7b1efb43ed64bc9fe78d9bf6ffb4371 restart: on-failure ports: - ${APP_CORE_LIGHTNING_REST_PORT}:${APP_CORE_LIGHTNING_REST_PORT} environment: PORT: "${APP_CORE_LIGHTNING_REST_PORT}" PROTOCOL: "http" volumes: - "${APP_CORE_LIGHTNING_REST_CERT_DIR}:/usr/src/app/certs" - "${APP_DATA_DIR}/data/lightningd:/root/.lightning" networks: default: ipv4_address: ${APP_CORE_LIGHTNING_REST_IP} lightningd: image: lncm/clightning:v22.11.1@sha256:e9939341ca6736566e0499db5a339b25140d6e77fb16ab202c217112f0df9b77 restart: on-failure ports: - ${APP_CORE_LIGHTNING_DAEMON_PORT}:9735 command: - --bitcoin-rpcconnect=${APP_BITCOIN_NODE_IP} - --bitcoin-rpcuser=${APP_BITCOIN_RPC_USER} - --bitcoin-rpcpassword=${APP_BITCOIN_RPC_PASS} - --proxy=${TOR_PROXY_IP}:${TOR_PROXY_PORT} - --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} - --database-upgrade=true #- --grpc-port=${APP_CORE_LIGHTNING_DAEMON_GRPC_PORT} volumes: - "${APP_DATA_DIR}/data/lightningd:/data/.lightning" networks: default: ipv4_address: ${APP_CORE_LIGHTNING_DAEMON_IP} 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"