Initial commit

This commit is contained in:
root 2022-09-10 22:48:58 +00:00
commit 9f447c03bf
3 changed files with 36 additions and 0 deletions

19
Dockerfile Normal file
View File

@ -0,0 +1,19 @@
FROM alpine:latest
EXPOSE 64738 64738/udp
ENV CONFIG_PATH=/data/config.ini
RUN adduser -DHs /sbin/nologin mumble
RUN apk update && apk add murmur
RUN mkdir -pv /opt/mumble
COPY files/run.sh /opt/mumble/run.sh
RUN chmod +x /opt/mumble/run.sh
RUN mkdir -pv /data
RUN chown mumble /data
COPY files/config.ini /data/config.ini
USER mumble
CMD ["/opt/mumble/run.sh"]

14
files/config.ini Normal file
View File

@ -0,0 +1,14 @@
# 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/murmur.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=mumble
; If enabled, clients are sent information about the servers version and operating
; system.
sendversion=False

3
files/run.sh Normal file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env sh
exec murmurd -fg -ini ${CONFIG_PATH}