[feat] server and superuser passwords

Impl note: server-pw can be ignored for a password-less server,
 e.g. if operator wants to run a publicly registered server:
 https://www.mumble.info/documentation/administration/config-file/#server-registration

Impl note: secret names (-pw rather than -password) are shortened due to R015.
This commit is contained in:
Amras
2026-04-23 16:17:22 +00:00
parent 244f2ce98e
commit a2e9b642bc
3 changed files with 29 additions and 0 deletions

View File

@ -12,3 +12,12 @@ 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

View File

@ -0,0 +1,12 @@
version: "3.8"
services:
app:
secrets:
- source: server-pw
target: MUMBLE_CONFIG_SERVER_PASSWORD
secrets:
server-pw:
external: true
name: ${STACK_NAME}_server-pw_${SECRET_SERVER_PASSWORD_VERSION}

View File

@ -8,6 +8,9 @@ services:
- proxy
volumes:
- "mumble_data:/data"
secrets:
- source: superuser-pw
target: MUMBLE_SUPERUSER_PASSWORD
deploy:
restart_policy:
condition: on-failure
@ -23,6 +26,11 @@ services:
- "traefik.udp.services.${STACK_NAME}-udp-service.loadbalancer.server.port=64738"
- "coop-cloud.${STACK_NAME}.version=0.1.0+v1.6.870-0"
secrets:
superuser-pw:
external: true
name: ${STACK_NAME}_superuser-pw_${SECRET_SUPERUSER_PASSWORD_VERSION}
networks:
proxy:
external: true