Files
mumble/.env.sample
Amras e8766522d2 [fix] Include default values in .env
When a MUMBLE_CONFIG var is set, mumble will use it even if it is empty.
This caused problems e.g. when USERNAME="" caused all usernames to be
rejected.

One option to resolve this would be to keep unset-in-config variables
unset in the container. The other option is to supply mumble's default
values to the .env (which also makes the values more explicit).

This commit also removes a few config variables:
SSL would require more work to set up, as the server would need access
to the cert files
REGISTER is skipped for now as it would require an extra secret
LOG_DAYS is skipped because I'm not sure the logs are visible to the
user
2026-04-27 14:45:29 +00:00

67 lines
1.6 KiB
Plaintext

TYPE=mumble
DOMAIN=mumble.example.com
## Domain aliases
#EXTRA_DOMAINS=', `www.mumble.example.com`'
LETS_ENCRYPT_ENV=production
ENV=production
# This is here so later lines can extend it; you likely don't wanna edit
COMPOSE_FILE="compose.yml"
## Web client
#COMPOSE_FILE="$COMPOSE_FILE:compose.mumbleweb.yml"
## Server Password
# remember to set the server-pw secret:
# abra app secret insert <domain> server-pw v1
#COMPOSE_FILE="$COMPOSE_FILE:compose.serverpassword.yml"
#SECRET_SERVER_PASSWORD_VERSION=v1
## SuperUser Password
SECRET_SUPERUSER_PASSWORD_VERSION=v1
#################
# MUMBLE CONFIG #
#################
# Documentation for the following options is here:
# https://github.com/mumble-voip/mumble/blob/v1.6.870/auxiliary_files/mumble-server.ini
WELCOME_TEXT="<br />Welcome to this server running <b>Mumble</b>.<br />Enjoy your stay!<br />"
BANDWIDTH=558000
TIMEOUT=30
USERS=100
USERS_PER_CHANNEL=0
MESSAGE_BURST=5
MESSAGE_LIMIT=1
PLUGIN_MESSAGE_LIMIT=1
PLUGIN_MESSAGE_BURST=5
ALLOW_PING=true
OPUS_THRESHOLD=0
CHANNEL_NESTING_LIMIT=10
CHANNEL_COUNT_LIMIT=1000
CHANNEL_NAME=[ \\-=\\w#\\[\\]\\{\\}\\(\\)\\@\\|]+
USERNAME=[-=\\w\\[\\]\\{\\}\\(\\)\\@\\|\\.]+
DEFAULT_CHANNEL=0
REMEMBER_CHANNEL=true
REMEMBER_CHANNEL_DURATION=0
TEXT_MESSAGE_LENGTH=5000
IMAGE_MESSAGE_LENGTH=1048576
ALLOW_HTML=true
BONJOUR=true
OBFUSCATE=false
CERT_REQUIRED=false
SEND_VERSION=true
SUGGEST_VERSION=
SUGGEST_POSITIONAL=
SUGGEST_PUSH_TO_TALK=
KDF_ITERATIONS=-1
AUTO_BAN_ATTEMPTS=10
AUTO_BAN_TIMEFRAME=120
AUTO_BAN_TIME=300
AUTO_BAN_SUCCESSFUL_CONNECTIONS=true
ALLOW_RECORDING=true
ROLLING_STATS_WINDOW=300
LISTENERS_PER_CHANNEL=5
LISTENERS_PER_USER=2