Skip to content

Environment variables

Robin edited this page Jan 18, 2021 · 27 revisions
Variable Description
BOT_URL URL which the website can use to reach this bot
WEBSERVER_PORT Port to run bot webserver on
WEBSERVER_INTERFACE Default 127.0.0.1, interface to bind the webserver to
DISCORD_TOKEN Discord bot API token
SKIP_SETTINGS_UPDATE Set to anything to stop the bot from sending settings to connected websites. Useful for large bot instances.
STORAGE_TYPE stateless or `postgres
API_URL Guild id, stateless mode only
GUILD_ID Guild id, stateless mode only
POSTGRES_HOSTNAME default localhost, postgres mode only
POSTGRES_PORT default 5432, postgres mode only
POSTGRES_NAME postgres mode only
POSTGRES_USERNAME postgres mode only
POSTGRES_PASSWORD postgres mode only

Clone this wiki locally