Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
AURA
engine
Commits
87917ee1
Commit
87917ee1
authored
Jan 28, 2021
by
David Trattnig
Browse files
Enable Engine Control Channel. #72
parent
5036df3f
Changes
1
Hide whitespace changes
Inline
Side-by-side
run.sh
View file @
87917ee1
...
...
@@ -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
\
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment