Skip to content
Snippets Groups Projects
Verified Commit 712641cb authored by Quentin Duchemin's avatar Quentin Duchemin
Browse files

[MumbleWeb] Add doc and config, more generic URL for Mumble server

parent 3c1b6dff
No related branches found
No related tags found
1 merge request!50Remove CI
## Interface Mumble web
Ce dossier contient les fichiers nécessaires pour lancer un serveur web facilitant l'accès au serveur Mumble que nous hébergeons.
### Lancement
Il suffit de lancer un `docker-compose up -d`.
Il faudra veiller à ce qu'un serveur Mumble soit associé, voir configuration.
### Configuration
Voir [config.json](./config.json).
Le serveur Mumble associé est configuré via la variable d'environnement `MUMBLE_SERVER` du fichier [docker-compose.yml](./docker-compose.yml).
Il est préférable d'utiliser une URL qu'un nom de conteneur, pour permettre à l'interface web de tourner sur une machine différente du serveur Mumble.
### Mise à jour
La mise à jour se fait via le [Dockerfile](./Dockerfile). Puisqu'elle ne se base sur aucune version précise pour le moment, et même sur une branche modifiée pour utiliser un thème Framasoft, on veillera à créer un fichier `CHANGELOG.md` et à choisir un tag "maison" pour décrire les changements effectués.
// Note: You probably do not want to change any values in here because this
// file might need to be updated with new default values for new
// configuration options. Use the [config.local.js] file instead!
window.mumbleWebConfig = {
// Which fields to show on the Connect to Server dialog
'connectDialog': {
'address': false,
'port': false,
'token': false,
'username': true,
'password': false,
'channelName': true
},
// Default values for user settings
// You can see your current value by typing `localStorage.getItem('mumble.$setting')` in the web console.
'settings': {
'voiceMode': 'ptt', // one of 'cont' (Continuous), 'ptt' (Push-to-Talk), 'vad' (Voice Activity Detection)
'pttKey': 'ctrl + shift',
'vadLevel': 0.3,
'toolbarVertical': false,
'showAvatars': 'always', // one of 'always', 'own_channel', 'linked_channel', 'minimal_only', 'never'
'userCountInChannelName': false,
'audioBitrate': 40000, // bits per second
'samplesPerPacket': 960
},
// Default values (can be changed by passing a query parameter of the same name)
'defaults': {
// Connect Dialog
'address': window.location.hostname,
'port': '443',
'token': '',
'username': '',
'password': '',
'joinDialog': false, // replace whole dialog with single "Join Conference" button
'matrix': false, // enable Matrix Widget support (mostly auto-detected; implies 'joinDialog')
'avatarurl': '', // download and set the user's Mumble avatar to the image at this URL
// General
'theme': 'Framasoft',
'easyMode': true
}
}
let config = window.mumbleWebConfig
......@@ -9,11 +9,11 @@ services:
image: registry.picasoft.net/pica-mumble-web:1.3.0
container_name: mumble-web
environment:
MUMBLE_SERVER: "murmur:64738"
MUMBLE_SERVER: "voice.picasoft.net:64738"
networks:
- docker_default
volumes:
- /DATA/docker/volumes/mumble-web/config.js:/home/node/dist/config.local.js
- ./config.js:/home/node/dist/config.local.js
labels:
- "traefik.frontend.rule=Host:voice.picasoft.net"
- "traefik.port=8080"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment