Files
de-praxis/deploy/server.env.example
juli adaee5b536 Move the relay's default port to 1337
Server default, Caddy upstream, env template, smoke scripts and docs.
2026-10-25 00:08:13 +02:00

24 lines
796 B
Bash

# Copy to /etc/de-praxis/server.env, owned by root with mode 0600.
# The Java listener must stay private; Caddy is the only public HTTP listener.
HOST=127.0.0.1
PORT=1337
DATA_DIR=/var/lib/de-praxis
PUBLIC_ORIGIN=https://relay.example.com
TRUSTED_PROXY_IPS=127.0.0.1,::1
ADMIN_REMOTE_ACCESS=false
MAX_ROOMS=200
ROOM_TTL_HOURS=168
REQUESTS_PER_MINUTE=240
GLOBAL_REQUESTS_PER_MINUTE=2400
ROOM_CREATES_PER_MINUTE=4
ROOM_JOINS_PER_MINUTE=12
ACTIONS_PER_MINUTE=60
LLM_PROBES_PER_MINUTE=3
LLM_MAX_CONCURRENT=2
# Exact backend hostnames/IPs the UI may configure. Add hosted/LAN backends here.
LLM_ALLOWED_HOSTS=127.0.0.1,localhost,::1
# Backend settings are configured through the private web panel after first start.
# ADMIN_TOKEN is optional: by default a random admin.key is generated in DATA_DIR.