Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions TESTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
Loading