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

Chore: Prod config now part of Docker Compose

parent b935d446
No related branches found
No related tags found
1 merge request!3Liquidsoap 2 migration
......@@ -48,7 +48,7 @@ Now clone this repository to your target instance.
Perform following commands inside the `engine-core` directory:
1. Create an initial configuration file based on an sample config: `cp config/sample-production.engine-core.ini config/engine-core.ini`
1. Create an initial configuration file based on an sample config: `cp config/sample.engine-core.ini config/engine-core.ini`
2. Create the folder structure `./audio/fallback/` in the project root and populate `fallback` with some music files. This folder is picked up as a so-called _Station Fallback_ in case no other music is scheduled or if silence is detected.
3. Execute `./run.sh` to get the _Engine Core_ server running. Voilá, you should hear some music!
......
##############################################
# Engine-Core Configuration #
##############################################
# Note: Paths are relative to the 'src' folder
[general]
# Engine ID
; engine_id="1"
# File Socket to control engine-core by engine
; socket_dir="../socket"
# Log directory absolute or relative from the "src" dir
; log_dir="../logs"
# Possible values are from "1" (INFO) to "5" (DEBUG)
; log_level="3"
# Allow Liquidsoap to run as root (required for Docker)
; liquidsoap_as_root="false"
# API endpoint to POST playlogs to
; api_url_playlog="http://127.0.0.1:8008/api/v1/playlog"
# This is the folder where fallback playlists are read from (optional)
; audio_playlist_folder="../audio/playlist"
[fallback]
# A folder holding music for Station Fallbacks (optional)
fallback_music_folder="../audio/fallback"
# Fallback Show Settings
; fallback_show_name="Station Fallback"
; fallback_show_id="-1"
# Fallback type: "folder", "playlist" or "none"
; fallback_type="folder"
# A playlist holding music for Station Fallbacks (optional)
; fallback_music_playlist= "station-fallback-playlist.m3u"
# The time in seconds how often the folder should be re-scanned
# Do not reload too often when using large folders
; fallback_music_folder_reload="300"
# Maximum time of blank from source (defaults to 20., seconds, float)
; fallback_max_blank="15."
# Minimum duration of noise on source to switch back over (defaults to 0, seconds, float)
; fallback_min_noise="0."
# Power in dB under which the stream is considered silent (defaults to -40., float)
; fallback_threshold="-80."
[soundcard]
# Choose your weapon: "alsa" (1 input/output), "pulseaudio" (multi input/output) or "jack" (multi input/output)
soundsystem="alsa"
# With 'alsa' you have to write the devicenames like 'default' to use the system default or 'hw:0' to use the 1st audio device directly.
# With Pulse Audio and Jack => an non empty value means it is used
# Devices with empty string are ignored and not used
; input_device_0=""
; input_device_1=""
# Same same, but different
output_device_0="default"
; output_device_1=""
# FRAME SETTINGS
#
# Sample rate in Hz
; frame_audio_sample_rate="44100"
# Frame Size ("frame.audio.size") is provided by ALSA and is specific to your Audio Device. Needs to be manually obtained and set correctly.
; frame_audio_size="1764"
; frame_audio_size="7056"
# Tentative frame duration in seconds, defaults to "0.04" (Float). This setting is used as a hint for the duration,
# when frame_audio_size is not provided. It's required for getting things in sync, but it's actually tricky to set correctly.
; frame_duration=""
# ADVANCED ALSA SETTINGS - Defaults are recommended; you might need to tweak these values if you're
# hearing jitter, cracklings or other artifacts or having generally bad latency
# Buffered audio is quite simple to setup but has some latency; Unbuffered provides low latency but
# requires a valid frame size.
; alsa_buffered_input="true"
; alsa_buffered_output="true"
# Set to 0 to use the ALSA default. If using hardware directly (hw:0) start with 8192. Higher values
# give higher latency and lower CPU usage.
; alsa_buffer="8192"
# Only used for buffered ALSA I/O, and affects latency. Probably not wanted for live audio.
# Defaults to "1".
; alsa_buffer_length="10"
# Set to 0 or leave empty to use the ALSA default.
; alsa_periods=""
[stream]
# Repeat this section for additional outgoing streams
# Like "stream_1", "stream_2" and so on.
# Enabled: (y)es or (n)o
; stream_0="n"
# Possible values: flac, mp3, ogg, opus
# (depending on which liquidsoap plugins you've installed)
; stream_0_encoding="ogg"
; stream_0_bitrate="128"
# Stereo (2) or Mono (any other value)
; stream_0_channels="2"
# Icecast host details
; stream_0_host="localhost"
; stream_0_port="8888"
; stream_0_mountpoint="aura-test-0.ogg"
; stream_0_user="source"
; stream_0_password="source"
; stream_0_url="http://www.fro.at"
# Stream Metadata
; stream_0_name="AURA Test Stream 0"
; stream_0_genre="mixed"
; stream_0_description="Test Stream 0"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment