Files
yolks/voice/mumble/entrypoint.sh
Michael (Parker) Parker 05bb2e03f8 update mumble (#303)
* update mumble

mumble now ships their own docker image
updating ours to be based on that.

* update entrypoint

uses the mumble executable to print the current version
2025-05-24 15:12:07 +02:00

16 lines
439 B
Bash

#!/bin/bash
cd /home/container
# Make internal Docker IP address available to processes.
INTERNAL_IP=$(ip route get 1 | awk '{print $(NF-2);exit}')
export INTERNAL_IP
# Print the Muble server version
/usr/bin/mumble-server --version
# Replace Startup Variables
MODIFIED_STARTUP=$(echo -e $(echo -e ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g'))
echo -e ":/home/container$ ${MODIFIED_STARTUP}"
# Run the Server
eval ${MODIFIED_STARTUP}