Hi, I’m making an app that depends on LNBits (a proxy that will allow to connect to your LNBits via Holesail).
In the umbral-apps
repo, LNbits does not have an “exports.sh” file. It’s docker-compose.yml contains:
services:
app_proxy:
environment:
APP_HOST: lnbits_web_1
APP_PORT: 3007
PROXY_AUTH_ADD: "false"
Suppose I’ll add lnbits
to my umbral-app.yml
’s dependencies. I want to define in my app’s docker-compose.yml
the environment variables “LNBITS_TARGET_ADDRESS” and “LNBITS_TARGET_PORT” to point to the LNbits app.
Should I define them directly to “lnbits_web_1” and “3007”? Or will there already be environment variables that I could use, like: LNBITS_TARGET_ADDRESS: APP_LNBITS_IP
, LNBITS_TARGET_PORT: APP_LNBITS_PORT
?
Or should I add an exports.sh
file to the lnbits
dir? And if so, what should it contain?
Thanks!