sample-docker.engine.ini 4.05 KB
Newer Older
1
2
3
4
5
6
7
8
9
10

###################
# Engine Settings #
###################


[database]
db_user="aura"
db_name="aura_engine"
db_pass="---SECRET--PASSWORD---"
David Trattnig's avatar
David Trattnig committed
11
db_host="127.0.0.1"
12
13
14
15
db_charset="utf8"


[monitoring]
16
mail_server="mail.your-radio.org"
17
18
19
mail_server_port="587"
mail_user="aura@subsquare.at"
mail_pass="---SECRET--PASSWORD---"
20

21
22
23
24
# Set to "true" if you want to notify programme-coordinators about about fallback situations, otherwise "false"
mail_coordinator_enabled="true"
# If you want to address multiple programme-coordinators separate their emails by space
coordinator_mail="programme-coordinator@your-radio.org"
25
26
# Set to "true" if you want to notify admins about incidents, otherwise "false"
mail_admin_enabled="true"
27
# If you want to address multiple administrators separate their emails by space
28
29
admin_mail="admin@your-radio.org"
# The FROM email address used when sending
30
from_mail="monitoring@aura.engine"
31
32
# A subject prefix allows applying filter rules in your mail client
mailsubject_prefix="[AURA Engine]"
33

David Trattnig's avatar
David Trattnig committed
34
# Server where heartbeat info is sent to
35
heartbeat_server = "127.0.0.1"   
David Trattnig's avatar
David Trattnig committed
36
37
38
39
# Some UDP port
heartbeat_port = 43334 
# Seconds how often the vitality of the Engine should be checked (0 = disabled)
heartbeat_frequency = 1
40

David Trattnig's avatar
David Trattnig committed
41
logdir="/srv/logs"
42
43
44
# Possible values: debug, info, warning, error, critical
loglevel="info"

45

46
47
[api]

David Trattnig's avatar
David Trattnig committed
48
49
50
## STEERING ##

# The URL to get the health status 
51
api_steering_status="http://127.0.0.1:8000/api/v1/"
52
# The URL to get the Calendar via Steering
David Trattnig's avatar
David Trattnig committed
53
54
55
api_steering_calendar="http://127.0.0.1:8000/api/v1/playout"

## TANK ##
56

57
58
59
60
# The session name which is used to authenticate against Tank
api_tank_session="engine"
# The secret which is used to authenticate against Tank
api_tank_secret="rather-secret"
David Trattnig's avatar
David Trattnig committed
61
# The URL to get the health status 
62
api_tank_status="http://127.0.0.1:8040/healthz/"
63
# The URL to get playlist details via Tank
David Trattnig's avatar
David Trattnig committed
64
65
api_tank_playlist="http://127.0.0.1:8040/api/v1/playlists/${ID}"

David Trattnig's avatar
David Trattnig committed
66
67
68
## ENGINE-API ##

# Engine ID (1 or 2)
69
api_engine_number=1
David Trattnig's avatar
David Trattnig committed
70
# Engine API availability check
71
api_engine_status="http://127.0.0.1:8008/api/v1/ui/"
David Trattnig's avatar
David Trattnig committed
72
# Engine API endpoint to store playlogs
73
api_engine_store_playlog="http://127.0.0.1:8008/api/v1/playlog"
David Trattnig's avatar
David Trattnig committed
74
# Engine API endpoint to store clock information
75
api_engine_store_clock="http://127.0.0.1:8008/api/v1/clock"
David Trattnig's avatar
David Trattnig committed
76
# Engine API endpoint to store health information
77
api_engine_store_health="http://127.0.0.1:8008/api/v1/source/health/${ENGINE_NUMBER}"
78
79


David Trattnig's avatar
David Trattnig committed
80
[scheduling]
81

David Trattnig's avatar
David Trattnig committed
82
# How often should the calendar be fetched in seconds. This determines the time of the last changes applied, before a specific show aired
David Trattnig's avatar
David Trattnig committed
83
fetching_frequency=300
84
85
86
# The scheduling window defines when the entries of each timeslot are queued for play-out. The windows start at (timeslot.start - window_start) seconds
# and ends at (timeslot.end - window.end) seconds. Its also worth noting, that timeslots can only be deleted before the start of the window.                
scheduling_window_start=60
87
scheduling_window_end=60
David Trattnig's avatar
David Trattnig committed
88
# How many seconds before the actual schedule time the entry should be pre-rolled. Note to provide enough timeout for
89
90
91
# contents which take longer to load (big files, bad connectivity to streams etc.). If the planned start time is in
# the past the offset is ignored and the entry is played as soon as possible
preload_offset=15
David Trattnig's avatar
David Trattnig committed
92
93

# Sometimes it might take longer to get a stream connected. Here you can define a viable length.
94
# But note, that this may affect the preloading time (see `preload_offset`), hence affecting the 
David Trattnig's avatar
David Trattnig committed
95
# overall playout, it's delays and possible fallbacks
David Trattnig's avatar
David Trattnig committed
96
97
input_stream_retry_delay=1
input_stream_max_retries=10
98
input_stream_buffer=3.0
David Trattnig's avatar
David Trattnig committed
99

100

101
[fading]
102
# Sets the time how long we have to fade in and out, when we select another mixer input values are in seconds
103
104
105
106
fade_in_time="0.5"
fade_out_time="2.5"

# Liquidsoap execution delay in seconds; Crucial to keep things in sync
107
lqs_delay_offset=0.5
108
109
110
111
112
113
114

[user]
# the user and group under which this software will run
daemongroup="engineuser"
daemonuser="engineuser"

[socket]
115
socketdir="/srv/src/liquidsoap"
116

117
[audiosources]
118
audio_source_folder="/var/audio/source"
119
audio_source_extension=".flac"
120
audio_playlist_folder="/var/audio/playlist"