adding the rest of the files
This commit is contained in:
+20
@@ -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"]
|
||||
@@ -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
|
||||
@@ -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 $@
|
||||
Reference in New Issue
Block a user