Allow running Lnbits behind a reverse proxy

This commit is contained in:
Aaron Dewes 2022-06-05 19:19:15 +02:00 committed by WilliamConnatser
parent 9e18cb24d2
commit 9b449b0353

View File

@ -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