chore(relay): make web UI opt-in (#1859)

Signed-off-by: npub12gtutshhh76rx0jx697f32f9tffd4hhp3hx58fp4x6u4uemkm7sqf8f757 <5217c5c2f7bfb4333e46d17c98a9255a52dadee18dcd43a43536b95e6776dfa0@sprout-oss.stage.blox.sqprod.co>
Co-authored-by: npub12gtutshhh76rx0jx697f32f9tffd4hhp3hx58fp4x6u4uemkm7sqf8f757 <5217c5c2f7bfb4333e46d17c98a9255a52dadee18dcd43a43536b95e6776dfa0@sprout-oss.stage.blox.sqprod.co>
This commit is contained in:
Tyler
2026-07-14 14:34:09 -04:00
committed by GitHub
co-authored by npub12gtutshhh76rx0jx697f32f9tffd4hhp3hx58fp4x6u4uemkm7sqf8f757
parent 7b6e12657d
commit 2ef0217a0a
2 changed files with 4 additions and 2 deletions
+3 -2
View File
@@ -92,9 +92,10 @@ COPY --from=builder /build/target/release/buzz-admin /usr/local/bin/buzz-admi
COPY --from=builder /build/target/release/buzz-pair-relay /usr/local/bin/buzz-pair-relay
COPY --from=web-builder /build/web/dist /srv/buzz/web
ENV BUZZ_WEB_DIR=/srv/buzz/web
# The web UI is bundled but disabled by default. Set
# BUZZ_WEB_DIR=/srv/buzz/web to opt in.
# 3000: app (WS + REST + web UI) · 8080: /_liveness, /_readiness · 9102: /metrics
# 3000: app (WS + REST) · 8080: /_liveness, /_readiness · 9102: /metrics
EXPOSE 3000 8080 9102
USER buzz:buzz
+1
View File
@@ -272,6 +272,7 @@ out of the box with `just setup` or `just relay`. Common overrides:
| `BUZZ_AUTO_MIGRATE` | `false` | Opt in with `true`/`1`/`yes`/`on` to run embedded SQLx migrations on relay startup |
| `RELAY_OWNER_PUBKEY` | unset | Bootstrapped as `owner` in `relay_members` at first start |
| `BUZZ_ALLOW_NIP_OA_AUTH` | `false` | Enable NIP-OA owner attestation for membership |
| `BUZZ_WEB_DIR` | unset | Set to the bundled `/srv/buzz/web` in the container to opt in to the browser web UI |
CLI-side, only two matter for testing: