- DISCORD_TOKEN
-
Default: required
Bot token created in the Discord Developer Portal.
- APPLICATION_ID
-
Default: required
Application ID used to register commands.
- DISCORD_CLIENT_SECRET
-
Default: required
OAuth Client Secret used for private-page login.
- APP_URL
-
Default: BASE_URL or http://localhost:8080
Private origin for the app, OAuth, recordings, and downloads. Register APP_URL/auth/callback as a Discord redirect.
- BASE_URL
-
Default: empty
Backward-compatible alias for APP_URL. New installations should prefer APP_URL.
- PUBLIC_URL
-
Default: APP_URL
Origin for the landing page and public demo. Keep it equal to the app when using one domain.
- DOCS_URL
-
Default: PUBLIC_URL
Documentation origin. When separate, Portuguese lives at / and English at /en.
- MCP_URL
-
Default: APP_URL
Public origin for the MCP API. The connector uses this value as KASSINAO_URL.
- GUILD_ID
-
Default: empty
Optional. Limits immediate command registration to one server.
- PORT
-
Default: 8080
Internal HTTP port for the Express server.
- TUNNEL_TOKEN
-
Default: empty
Cloudflare Tunnel token. Also enable the tunnel profile.
- COMPOSE_PROFILES
-
Default: empty
Use tunnel to start Cloudflare Tunnel alongside the bot.
- COOKIE_SECRET
-
Default: generated and persisted
Session secret with at least 32 bytes. When empty, the bot creates one in the volume.
- REPO_PUBLIC
-
Default: false
Enables public repository links in the interface.
- DEFAULT_LOCALE
-
Default: en
Fallback language when Discord does not provide a locale.
- TZ
-
Default: America/Sao_Paulo
Fallback timezone for dates. On the web, the browser takes priority.