add new env vars to docker config

This commit is contained in:
janderedev 2022-04-09 17:13:31 +02:00
parent 026b81645f
commit a2b5d3465c
Signed by: Lea
GPG key ID: 5D5E18ACB990F57A
2 changed files with 12 additions and 0 deletions

View file

@ -17,6 +17,16 @@ BOT_TOKEN=
# Leave empty to keep default ("/") # Leave empty to keep default ("/")
BOT_PREFIX= 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 # Private token used by the bot to communicate
# with the API. Keep this private! # with the API. Keep this private!
INTERNAL_API_TOKEN= INTERNAL_API_TOKEN=

View file

@ -21,6 +21,8 @@ services:
- BOT_PREFIX - BOT_PREFIX
- BOT_METRICS_PORT - BOT_METRICS_PORT
- BOT_METRICS_MSG_PING_CHANNEL - BOT_METRICS_MSG_PING_CHANNEL
- BOT_STATUS
- BOT_STATUS_INTERVAL
# Uncomment if you enabled Prometheus metrics # Uncomment if you enabled Prometheus metrics
#ports: #ports:
# - 127.0.0.1:${BOT_METRICS_PORT}:${BOT_METRICS_PORT} # - 127.0.0.1:${BOT_METRICS_PORT}:${BOT_METRICS_PORT}