-
Notifications
You must be signed in to change notification settings - Fork 1
/
.env.example
62 lines (49 loc) · 1.78 KB
/
.env.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# 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=
# Base URL of the Revolt API to connect to.
# Defaults to https://revolt.chat/api
REVOLT_API_URL=
# Your bot account's token.
BOT_TOKEN=
# The default prefix, can be overridden by server owners.
# Leave empty to keep default ("/")
BOT_PREFIX=
# 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=
# 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: 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=
# 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=
# 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