29 lines
939 B
Bash
29 lines
939 B
Bash
# 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://admin.example.com
|
|
|
|
# Admin hostname terminated by the dedicated Caddy proxy. This hostname only
|
|
# needs to resolve on your WireGuard/private network.
|
|
ADMIN_HOSTNAME=admin.example.com
|
|
|
|
# Compose-level convenience variables for the dedicated admin proxy.
|
|
ADMIN_BIND_IP=127.0.0.1
|
|
ADMIN_HTTP_PORT=80
|
|
ADMIN_HTTPS_PORT=443
|
|
# Leave blank to use same-origin /api requests through admin-proxy.
|
|
ADMIN_WEB_API_URL=
|