initialize

This commit is contained in:
Elouin 2023-10-15 19:47:46 +02:00
commit 6c087a4d68
4 changed files with 70 additions and 0 deletions

8
Dockerfile Normal file
View file

@ -0,0 +1,8 @@
FROM alpine
RUN apk add murmur
EXPOSE 64738/tcp
EXPOSE 64738/udp
CMD /usr/bin/murmurd -v -fg -ini /data/murmur.ini

10
README.md Normal file
View file

@ -0,0 +1,10 @@
# Mumble Docker Setup
Mainly to have a version of the mumble server thats newer than the one from the debian repos, we created this little docker setup for mumble.
## How to
1. Create `data` directory next to the `docker-compose.yml`
2. Copy the example config file into the newly created `data` directory
3. Adjust the config to your liking
4. `docker compose up -d --build`

29
docker-compose.yml Normal file
View file

@ -0,0 +1,29 @@
version: "2.4"
services:
mumble:
build: .
volumes:
- ./data:/data
ports:
- 64738:64738
- 64738:64738/udp
restart: unless-stopped
# resources
cpus: 0.5
mem_limit: 256m
memswap_limit: 0
# botamusique:
# # image: docker.pkg.github.com/flipdot/mumble-docker/botamusique:latest
# build: plugins/botamusique-docker/.
# volumes:
# - ./data/botamusique:/data/
# depends_on:
# - mumble
# restart: unless-stopped
# # resources
# cpus: 1
# oom_score_adj: 100 # kill this thing first
# mem_limit: 256m
# memswap_limit: 0

23
murmur.ini.example Normal file
View file

@ -0,0 +1,23 @@
# Murmur configuration file.
# See https://wiki.mumble.info/wiki/Murmur.ini for more options
# Path to database. If blank, will search for
# murmur.sqlite in default locations or create it if not found.
# database=/data/database.sqlite
# If Murmur is started as root, which user should it switch to?
# This option is ignored if Murmur isn't started with root privileges.
uname=murmur
# sslCert=/data/fullchain.pem
# sslKey=/data/privkey.pem
users=200
bandwidth=130000
suggestPushToTalk=true
registerName=changeme
welcometext="welcome to this mumble docker testserver."
# defaultchannel=8
# rememberchannel=false