adding the rest of the files

This commit is contained in:
2019-03-04 18:16:53 +00:00
parent ab08dd0836
commit 39d5364fb2
4 changed files with 52 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
FROM debian:stretch-slim
MAINTAINER Adam Harrison-Fuller <adam@adamhf.io>
RUN apt-get update && \
apt-get install -y mumble-server && \
rm -rf \
/var/cache/apt/* \
/var/lib/apt/lists/*
EXPOSE 64738 64738/udp
ADD ./data/mumble_server.ini /config/
VOLUME /data
ENV MUMBLE_INI /config/mumble_server.ini
ADD entrypoint.sh /
RUN chmod +x entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
CMD ["-fg"]
+13
View File
@@ -0,0 +1,13 @@
icesecretwrite=
database=/data/murmur.sqlite
logfile=/data/mumble-server.log
pidfile=/data/mumble-server.pid
welcometext="Welcome to Mumble"
port=64738
serverpassword=
bandwidth=72000
users=100
uname=mumble-server
[Ice]
Ice.Warn.UnknownProperties=1
Ice.MessageSizeMax=65536
+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash
# set volume permissions
if [ "$(stat -c %U /data)" != "mumble-server" ] ; then
# SQLLite needs to be created by mumble-server / UID 106
echo "mumble-server does not own /data, attempting to modify";
chown -R mumble-server.mumble-server /data
fi;
OPTS="-ini $MUMBLE_INI"
exec murmurd $OPTS $@
+7
View File
@@ -0,0 +1,7 @@
mumble:
build: .
ports:
- "64739:64738"
- "64739:64738/udp"
volumes:
- data/:/data/