Configure Mumble using Docker/Podman secrets
masterInstead of environment variables, you can use secrets. Place files following the MUMBLE_CONFIG_<config_name> naming pattern in the /run/secrets directory at runtime. This is useful for sensitive data like passwords.
# Create the secrets
echo -n "secretserver" | podman secret create MUMBLE_CONFIG_SERVER_PASSWORD -
echo -n "supassword" | podman secret create MUMBLE_CONFIG_SUPERUSER_PASSWORD -
# Run the server with these secrets mounted
podman run --detach \
--name mumble-server \
--publish 64738:64738/tcp \
--publish 64738:64738/udp \
--secret MUMBLE_CONFIG_SERVER_PASSWORD \
--secret MUMBLE_CONFIG_SUPERUSER_PASSWORD \
--volume ./data/mumble:/data \
--restart on-failure \
mumblevoip/mumble-server:<tag>