Enable mumble web interface

This commit is contained in:
3wc 2021-08-07 22:17:04 +02:00
parent ffda2fde4d
commit 43e86d4f79
2 changed files with 21 additions and 0 deletions

View File

@ -6,3 +6,9 @@ DOMAIN=mumble.example.com
#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"

15
compose.mumbleweb.yml Normal file
View File

@ -0,0 +1,15 @@
version: "3.8"
services:
web:
image: rankenstein/mumble-web
environment:
- "MUMBLE_SERVER=${STACK_NAME}_app:64738"
networks:
- proxy
deploy:
labels:
- "traefik.enable=true"
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=8080"
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`)"
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"