From 4c479ab3bfadeb9dabec6d26890301af18a7c2ae Mon Sep 17 00:00:00 2001 From: Aaron Dewes Date: Sun, 5 Jun 2022 19:19:15 +0200 Subject: [PATCH] Allow running Lnbits behind a reverse proxy --- apps/lnbits/app.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/lnbits/app.yml b/apps/lnbits/app.yml index 92a02e0..7d0b6db 100644 --- a/apps/lnbits/app.yml +++ b/apps/lnbits/app.yml @@ -25,6 +25,7 @@ metadata: defaultPassword: $APP_SEED containers: - image: ghcr.io/runcitadel/lnbits-legends:feat-admin-password@sha256:f484cf3531d1bb14d95159fe2e7596f738e0991163190a7a346d594ec9bb80e5 + command: sh -c 'uvicorn lnbits.__main__:app --port 5000 --proxy-headers --host 0.0.0.0 --forwarded-allow-ips "*"' user: 1000:1000 init: true port: 5000 @@ -46,6 +47,7 @@ containers: requires: - lnd - image: ghcr.io/runcitadel/lnbits-legends:feat-admin-password@sha256:f484cf3531d1bb14d95159fe2e7596f738e0991163190a7a346d594ec9bb80e5 + command: sh -c 'uvicorn lnbits.__main__:app --port 5000 --proxy-headers --host 0.0.0.0 --forwarded-allow-ips "*"' user: 1000:1000 init: true port: 5000