version: "3.7"

services:
  app_proxy:
    environment:
      APP_HOST: helipad_web_1
      APP_PORT: 2112

  web:
    image: podcastindexorg/podcasting20-helipad:v0.1.10@sha256:8c6854dd13bda2564c90819ba2277e7b7e68f58946238b1d71d8f6a677d2de64
    init: true
    restart: on-failure
    stop_grace_period: 1m
    user: "1000:1000"
    volumes:
      - ${APP_DATA_DIR}/data:/data
      - ${APP_LIGHTNING_NODE_DATA_DIR}:/lnd:ro
    environment:
      LND_URL: "$APP_LIGHTNING_NODE_IP:$APP_LIGHTNING_NODE_GRPC_PORT"
