Files
draupnir/.env.sample
2026-02-26 21:21:03 -08:00

30 lines
1007 B
Plaintext

TYPE=draupnir
DOMAIN=draupnir.example.com
## Domain aliases
#EXTRA_DOMAINS=', `www.draupnir.example.com`'
LETS_ENCRYPT_ENV=production
HOME_SERVER_URL="example.com"
RAW_HOMESERVER_URL="example.com"
DRAUPNIR_LOG_LEVEL="DEBUG"
# The room ID (or room alias) of the management room, anyone in this room can issue commands to Draupnir.
#
# Draupnir has no more granular access controls other than this, be sure you trust everyone in this room - secure it!
#
# This should be a room alias or room ID - not a matrix.to URL.
#
# Note: By default, Draupnir is fairly verbose - expect a lot of messages in this room.
# (see verboseLogging to adjust this a bit.)
MANAGEMENT_ROOM="#moderators:example.org"
# If true (the default), Draupnir will only accept invites from users present in managementRoom.
AUTO_JOIN_ONLY_IF_MANAGER=true
# If `autojoinOnlyIfManager` is false, only the members in this space can invite
# the bot to new rooms.
# ACCEPT_INVITES_FROM_SPACE="!example:example.org"
ACCESS_TOKEN_VERSION=v1