version: "3.7" services: redis: image: "redis:6.2.2-buster@sha256:e10f55f92478715698a2cef97c2bbdc48df2a05081edd884938903aa60df6396" user: "1000:1000" command: "redis-server --requirepass moneyprintergobrrr" restart: "on-failure" stop_grace_period: "1m" init: true volumes: - "${APP_DATA_DIR}/data/redis:/data" networks: default: ipv4_address: "${APP_BLUEWALLET_REDIS_IP}" lndhub: image: "bluewalletorganization/lndhub:v1.3.3@sha256:b99408dfb53f503def405668f5fc4d8185de39a87843d4ea8774544a5df1fe36" user: "1000:1000" depends_on: [ "redis" ] restart: "on-failure" stop_grace_period: "1m" init: true ports: - "${APP_BLUEWALLET_LNDHUB_PORT}:${APP_BLUEWALLET_LNDHUB_PORT}" volumes: - "${LND_DATA_DIR}:/lnd:ro" environment: PORT: "${APP_BLUEWALLET_LNDHUB_PORT}" TOR_URL: "${APP_HIDDEN_SERVICE}" LND_CERT_FILE: "/lnd/tls.cert" LND_ADMIN_MACAROON_FILE: "/lnd/data/chain/bitcoin/${BITCOIN_NETWORK}/admin.macaroon" CONFIG: '{ "rateLimit": 10000, "postRateLimit": 10000, "redis": { "port": 6379, "host": "$APP_BLUEWALLET_REDIS_IP", "family": 4, "password": "moneyprintergobrrr", "db": 0 }, "lnd": { "url": "$LND_IP:$LND_GRPC_PORT", "password": ""}}' networks: default: ipv4_address: "${APP_BLUEWALLET_LNDHUB_IP}"