# Copy this file to `.env.example` before editing. # A secure password for your database. # Keep in mind that you can't easily change this after initialising the database. DB_PASS= # Base URL of the Stoat API to connect to. # Defaults to https://api.stoat.chat/0.8 STOAT_API_URL= # Your bot account's token. BOT_TOKEN= # The default command prefix # Defaults to / BOT_PREFIX= # List of messages to cycle between as the bot's status, separated by '||'. # Available variables: {{servers}}, {{users}}, {{infractions_total}} and {{ping_ms}}. # This only works if BOT_STATUS_INTERVAL is also set. BOT_STATUS= # Delay (in seconds) between status changes. BOT_STATUS_INTERVAL= # Private token used by the bot to communicate with its API. INTERNAL_API_TOKEN= # Users who can use owner commands. # Comma-separated list of user IDs. BOT_OWNERS= # Optional: If set, enables Prometheus metrics on the specified port under /metrics. # No authentication can be configured, so you should use a reverse proxy if you need BasicAuth or similar. BOT_METRICS_PORT= # Optional: If set, will regularly send a message in the provided channel so Prometheus metrics can track `msg_ping`. # Expects channel ID BOT_METRICS_MSG_PING_CHANNEL= # The URL from which the API is publicly reachable. # Do not add a trailing slash. PUBLIC_API_URL=http://localhost:9000 # The base path the web dashboard is served under. # Use a leading slash with no trailing slash, eg '/dashboard'. # Leave empty to serve at the root. WEB_BASE_PATH= # The URL and port for the web dashboard. # Do not add a trailing slash. PUBLIC_WEB_URL=http://localhost:8080 PUBLIC_WEB_PORT=8080