version: "3.7" services: app_proxy: environment: APP_HOST: $APP_LN_VISUALIZER_WEB_IP APP_PORT: 80 web: image: maxkotlan/ln-visualizer-web:v0.0.23@sha256:4f43a46bae95245e7c271416b5ebadff2384a03b2ee9a9b3d3aea44043a9ce99 init: true restart: on-failure stop_grace_period: 1m environment: LN_VISUALIZER_API_URL: "http://${APP_LN_VISUALIZER_API_IP}:5647" networks: default: ipv4_address: "${APP_LN_VISUALIZER_WEB_IP}" api: image: maxkotlan/ln-visualizer-api:v0.0.23@sha256:db7916921d9a5d354038715fb9b5f4256369192660f2989bbd49276ccaf3eb7e init: true restart: on-failure stop_grace_period: 1m user: 1000:1000 volumes: - "${APP_LIGHTNING_NODE_DATA_DIR}:/lnd:ro" environment: LND_CERT_FILE: "/lnd/tls.cert" LND_MACAROON_FILE: "/lnd/data/chain/bitcoin/${APP_BITCOIN_NETWORK}/readonly.macaroon" LND_SOCKET: "${APP_LIGHTNING_NODE_IP}:${APP_LIGHTNING_NODE_GRPC_PORT}" networks: default: ipv4_address: "${APP_LN_VISUALIZER_API_IP}"