# Nosterm client configuration. Copy to `.env` and edit: # # cp .env.example .env # # Nothing here is secret — every value is either browser-visible (PUBLIC_*, baked # into the client bundle at build time) or plain deployment wiring. Do NOT put # private keys or credentials in this file. # --- Runtime (docker-compose, no rebuild needed) --------------------------- # Relay websocket url(s) the client preloads, comma-separated. Written to # /config.json by the container entrypoint on startup. For a same-origin home # relay proxied by Caddy use "ws://localhost:8080/relay". Leave blank to start # with no default relays. NOSTERM_DEFAULT_RELAYS= # Upstream address for Caddy's optional /relay proxy. Only used when the client # reaches a relay at ws:///relay. Harmless if unused. RELAY_UPSTREAM=relay:3334 # --- Build-time (PUBLIC_*, baked into the client bundle) ------------------- # Fallback relay list used only when no runtime /config.json relays are set. PUBLIC_DEFAULT_RELAYS= # Default UI theme id. PUBLIC_DEFAULT_THEME=nord # Channel auto-joined on startup, on the first default relay (bare name, no '#'). # Leave blank to disable auto-join. PUBLIC_DEFAULT_CHANNEL=nosterm # Max lines kept in the terminal scrollback. PUBLIC_MAX_TERMINAL_ENTRIES=1000 # Max characters allowed in a single message. PUBLIC_MAX_MESSAGE_LENGTH=2000 # Max messages cached per room in IndexedDB (older ones get pruned). PUBLIC_MAX_CACHED_MESSAGES_PER_ROOM=500