This commit is contained in:
Jason Ross
2026-03-31 21:28:12 -05:00
parent 350e43bbfb
commit e34fdde7d6
15 changed files with 170 additions and 49 deletions
+11 -6
View File
@@ -12,12 +12,17 @@ SESSION_SECRET=
INSTANCE_URL=https://chat.yourdomain.com
INSTANCE_NAME=My Stoat Instance
# Admin API listen port and admin web origin for CORS.
# Admin API listen port and the HTTPS browser origin allowed by CORS.
ADMIN_API_PORT=5181
ADMIN_WEB_ORIGIN=https://localhost:5180
ADMIN_WEB_ORIGIN=https://admin.example.com
# Compose-level convenience variables.
# 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_WEB_PORT=5180
ADMIN_WEB_API_URL=http://127.0.0.1:5181
ADMIN_HTTP_PORT=80
ADMIN_HTTPS_PORT=443
# Leave blank to use same-origin /api requests through admin-proxy.
ADMIN_WEB_API_URL=