Commit 87917ee1 authored by david's avatar david
Browse files

Enable Engine Control Channel. #72

parent 5036df3f
......@@ -66,7 +66,7 @@ if [[ $docker == "true" ]]; then
BASE_DIR=$(readlink -f .)
echo "Absolute base dir: " $BASE_DIR
### Runs Engine Core & Liquidsoap ###
### Runs Engine Docker Container ###
if [[ $mode == "engine" ]]; then
......@@ -78,6 +78,10 @@ if [[ $docker == "true" ]]; then
AURA_ENGINE_SOCKET_DIR="$BASE_DIR/../engine-core/socket"
fi
if [[ -z "${AURA_ENGINE_CONTROL_CHANNEL}" ]]; then
AURA_ENGINE_CONTROL_CHANNEL="127.0.0.1:1337"
fi
if [[ -z "${AURA_ENGINE_AUDIO_SOURCE_DIR}" ]]; then
AURA_ENGINE_AUDIO_SOURCE_DIR="$BASE_DIR/audio/source"
fi
......@@ -91,6 +95,7 @@ if [[ $docker == "true" ]]; then
--name aura-engine \
--rm \
-u $UID:$GID \
-p $AURA_ENGINE_CONTROL_CHANNEL:1337/tcp \
-v "$AURA_ENGINE_CONFIG_PATH":"/srv/config/engine.ini":ro \
-v "$AURA_ENGINE_SOCKET_DIR":"/srv/socket" \
-v "$AURA_ENGINE_AUDIO_SOURCE_DIR":"/var/audio/source":ro \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment