2022-02-05 20:17:00 +01:00
|
|
|
# Copy this file to `.env.example` before editing
|
|
|
|
|
|
|
|
### IMPORTANT: ###
|
|
|
|
# After changing `BOT_PREFIX` or `PUBLIC_API_URL`,
|
|
|
|
# you need to rebuild the web container:
|
|
|
|
# "docker-compose build web"
|
|
|
|
|
|
|
|
# Set a secure password for your database.
|
|
|
|
# Keep in mind that you can't easily change this
|
|
|
|
# after initializing the database.
|
|
|
|
DB_PASS=
|
|
|
|
|
2022-04-30 11:25:24 +02:00
|
|
|
# Base URL of the Revolt API to connect to.
|
|
|
|
# Defaults to https://api.revolt.chat
|
|
|
|
API_URL=
|
|
|
|
|
2022-02-05 20:17:00 +01:00
|
|
|
# Your bot account's token.
|
|
|
|
BOT_TOKEN=
|
|
|
|
|
2022-04-18 21:16:12 +02:00
|
|
|
# A Discord bot token, used for the bridge service.
|
|
|
|
BOT_TOKEN_DISCORD=
|
|
|
|
|
2022-02-05 20:17:00 +01:00
|
|
|
# The default prefix, can be overridden by server owners.
|
|
|
|
# Leave empty to keep default ("/")
|
|
|
|
BOT_PREFIX=
|
|
|
|
|
2022-04-09 17:13:31 +02:00
|
|
|
# List of messages to display in the bot's status, separated
|
|
|
|
# by '||'. Available "variables": {{servers}}, {{users}},
|
|
|
|
# {{infractions_total}} and {{ping_ms}}. The bot will
|
|
|
|
# periodically cycle between these messages. Only works if
|
|
|
|
# BOT_STATUS_INTERVAL is also set.
|
|
|
|
BOT_STATUS=
|
|
|
|
|
|
|
|
# Delay (in seconds) between status changes.
|
|
|
|
BOT_STATUS_INTERVAL=
|
|
|
|
|
2022-02-05 20:17:00 +01:00
|
|
|
# Private token used by the bot to communicate
|
|
|
|
# with the API. Keep this private!
|
|
|
|
INTERNAL_API_TOKEN=
|
|
|
|
|
|
|
|
# Comma separated list of user IDs.
|
|
|
|
# Be careful with the people you add here -
|
|
|
|
# They will be able to use /eval and /shell,
|
|
|
|
# which gives them access to your server!
|
|
|
|
BOT_OWNERS=
|
|
|
|
|
|
|
|
# Optional: A Discord webhook URL which will be
|
|
|
|
# used to log certain events (bot started, etc).
|
|
|
|
LOG_WEBHOOK=
|
|
|
|
|
2022-02-12 15:25:24 +01:00
|
|
|
# Optional: If set, enables Prometheus metrics
|
|
|
|
# on the specified port (Under /metrics).
|
|
|
|
# Note that no authentication can be configured;
|
|
|
|
# you should use a reverse proxy if you need
|
|
|
|
# BasicAuth or a different form of authentication.
|
|
|
|
BOT_METRICS_PORT=
|
|
|
|
|
2022-04-28 07:31:02 +02:00
|
|
|
# Same as above, but for the bridge service.
|
|
|
|
# Make sure the ports don't overlap!
|
|
|
|
BRIDGE_METRICS_PORT=
|
|
|
|
|
2022-02-12 15:25:24 +01:00
|
|
|
# Optional: Set this to a channel ID if you
|
|
|
|
# want Prometheus metrics to return `msg_ping`.
|
|
|
|
# The bot will regularly send a message in that
|
|
|
|
# channel.
|
|
|
|
BOT_METRICS_MSG_PING_CHANNEL=
|
|
|
|
|
2022-02-05 20:17:00 +01:00
|
|
|
# The URL from which your API and Web app are
|
|
|
|
# publicly reachable. Do not add a trailing
|
|
|
|
# slash to the URLs.
|
|
|
|
|
|
|
|
PUBLIC_API_URL=http://localhost:9000
|
|
|
|
PUBLIC_WEB_URL=http://localhost:8080
|
2022-05-01 14:45:36 +02:00
|
|
|
|
|
|
|
# List of servers to use for bridging Revolt
|
|
|
|
# emojis to Discord. You will need at least 2
|
|
|
|
# servers. Revolt emojis will be automatically
|
|
|
|
# downloaded and synced to these servers.
|
|
|
|
# Please note that all other emojis will be deleted.
|
|
|
|
# Server IDs, divided by commas without spaces in between.
|
|
|
|
BRIDGE_EMOJI_SERVERS=
|