Updated Dockerfile and configuration for our needs

This commit is contained in:
palo 2024-11-29 03:33:49 +01:00
parent 6d0c3fb7a6
commit 9dc62828f4
2 changed files with 21 additions and 8 deletions

View File

@ -1,8 +1,8 @@
FROM alpine:edge
LABEL maintainer="Andreas Peters <support@aventer.biz>"
LABEL maintainer="Unit <unit@autistici.org>"
COPY ./ /home/node
COPY ./source/ /home/node
RUN echo http://nl.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories && \
apk add --no-cache git nodejs npm tini websockify && \
@ -27,9 +27,8 @@ RUN apk del gcc git
USER node
EXPOSE 8080
ENV MUMBLE_SERVER=mumble.aventer.biz:64738
EXPOSE 8181
ENV MUMBLE_SERVER=parla.abbiamoundominio.org:64738
ENTRYPOINT ["/sbin/tini", "--"]
CMD websockify --ssl-target --web=/home/node/dist 8080 "$MUMBLE_SERVER"
CMD websockify --ssl-target --web=/home/node/dist 8181 "$MUMBLE_SERVER"

View File

@ -4,6 +4,20 @@
let config = window.mumbleWebConfig // eslint-disable-line no-unused-vars
config.connectDialog.address = false;
config.connectDialog.port = false;
config.connectDialog.username = true;
config.connectDialog.token = false;
config.connectDialog.password = false;
config.connectDialog.channelName = false;
// E.g. changing default address and theme:
// config.defaults.address = 'voice.example.com'
// config.defaults.theme = 'MetroMumbleDark'
config.defaults.address = 'parla.abbiamoundominio.org';
config.defaults.port = '443';
config.defaults.theme = 'MetroMumbleDark';
config.defaults.joinDialog = true;
// Enable push-to-talk as default mode
config.settings.voiceMode = 'ptt';