Skip to content
Snippets Groups Projects
Commit 9a3b6123 authored by David Trattnig's avatar David Trattnig
Browse files

More test settings.

parent 7524b437
No related branches found
No related tags found
No related merge requests found
...@@ -99,7 +99,12 @@ if [[ $docker == "true" ]]; then ...@@ -99,7 +99,12 @@ if [[ $docker == "true" ]]; then
-v "$AUDIO_DIR/playlist":"/var/audio/playlist":ro \ -v "$AUDIO_DIR/playlist":"/var/audio/playlist":ro \
-v "$AUDIO_DIR/station":"/var/audio/station":ro \ -v "$AUDIO_DIR/station":"/var/audio/station":ro \
-v "$BASE_DIR/logs":"/srv/logs" \ -v "$BASE_DIR/logs":"/srv/logs" \
-v "$BASE_DIR/contrib":"/srv/contrib" \
-v "$BASE_DIR/tests":"/srv/tests" \
-v "/etc/asound.conf":"/etc/asound.conf" \ -v "/etc/asound.conf":"/etc/asound.conf" \
--privileged \
--memory=8g --memory-reservation=4g \
--cpus=4.0 --cpu-shares=3000 \
--mount type=tmpfs,destination=/tmp \ --mount type=tmpfs,destination=/tmp \
--device /dev/snd \ --device /dev/snd \
--group-add audio \ --group-add audio \
......
#!/usr/bin/env bash
#
# Aura Engine (https://gitlab.servus.at/aura/engine)
#
# Copyright (C) 2017-now() - The Aura Engine Team.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
docker run -it -v /dev/snd:/dev/snd -v "/etc/asound.conf":"/etc/asound.conf" --privileged savonet/liquidsoap:main liquidsoap 'set("log.level",5)' 'set("frame.audio.size", 15052)' 'set("frame.video.framerate", 0)' 'output.alsa(bufferize=false, input.alsa(bufferize=false))'
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment