commit 6c087a4d68510a556c181c803a37c095a6ae196a Author: Elouin Date: Sun Oct 15 19:47:46 2023 +0200 initialize diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..634ade4 --- /dev/null +++ b/Dockerfile @@ -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 \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..728e887 --- /dev/null +++ b/README.md @@ -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` \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..723600b --- /dev/null +++ b/docker-compose.yml @@ -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 diff --git a/murmur.ini.example b/murmur.ini.example new file mode 100644 index 0000000..05ae8f0 --- /dev/null +++ b/murmur.ini.example @@ -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 \ No newline at end of file