initial public relay build repo
ci / build (push) Successful in 2m3s
ci / image (push) Successful in 1m4s

This commit is contained in:
2026-07-24 13:11:06 -04:00
commit 294616642f
24 changed files with 2957 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
# Nosterm relay deployment configuration.
# Copy to `.env` and adjust.
# Stable 64-char hex identity that signs group metadata/rosters.
# REQUIRED when RELAY_ENV=production (the relay refuses to start without it).
# In dev it is auto-generated and persisted to the data volume.
# Generate one with: openssl rand -hex 32
RELAY_SECRET_KEY=
# Set to "production" to require a stable RELAY_SECRET_KEY (fail-fast if unset).
# Leave empty for development (auto-generates + persists a key).
RELAY_ENV=
# NIP-11 relay metadata.
RELAY_NAME=Nosterm Home Relay
RELAY_DESCRIPTION=
RELAY_CONTACT=relay@nosterm.com
# Optional message-of-the-day: shown in the client's relay "server window" on
# connect (IRC-style MOTD). Multi-line supported with \n. Empty = falls back to
# the built-in "nerdworks.io" ascii banner.
RELAY_MOTD=
# Retention (chat messages only; membership/metadata are never pruned).
# 0 = unlimited.
RELAY_RETENTION_DAYS=0
RELAY_RETENTION_MAX_MESSAGES=0
RELAY_RETENTION_INTERVAL_MINUTES=60
# Optional federation with peer relays. Empty = disabled.
# Format: "<wss-url>[|<mode>:<channels>]" entries separated by ';'.
# mode = mirror (bidirectional) | ingest (read-only). Default mirror.
# channels = comma list of group ids, or '*' for all. Default '*'.
# Example:
# wss://a.example|mirror:general,dev;wss://b.example|ingest:*
RELAY_FEDERATION_PEERS=