# MongoDB connection string for the Stoat database. MONGODB=mongodb://database:27017 # Resend credentials for invite email delivery. RESEND_API_KEY=re_xxxxxxxxxxxx RESEND_FROM_EMAIL=noreply@yourdomain.com # Express session signing secret. Generate with: openssl rand -base64 32 SESSION_SECRET= # Stoat instance metadata used in invite emails. INSTANCE_URL=https://chat.yourdomain.com INSTANCE_NAME=My Stoat Instance # Admin API listen port and the HTTPS browser origin allowed by CORS. ADMIN_API_PORT=5181 ADMIN_WEB_ORIGIN=https://localhost:9443 # Admin hostname terminated by the dedicated Caddy proxy. Use localhost for # local compose usage and replace it with a real name for deployment. ADMIN_HOSTNAME=localhost # Compose-level convenience variables for the dedicated admin proxy. These # defaults avoid privileged ports locally; set 80/443 in deployment if needed. ADMIN_BIND_IP=127.0.0.1 ADMIN_HTTP_PORT=9080 ADMIN_HTTPS_PORT=9443 # Optional frontend API base URL override for standalone web builds. ADMIN_WEB_API_URL=