103 lines
3.8 KiB
Plaintext
103 lines
3.8 KiB
Plaintext
# This is an example configuration file.
|
|
|
|
# ----------------------------------------------------------------------
|
|
# G E N E R A L S E T T I N G S
|
|
# ----------------------------------------------------------------------
|
|
[general]
|
|
# The internal API authentication key, this field is required
|
|
api_key =
|
|
|
|
# The public url scheme
|
|
# Mutually exclusive with force_ssl
|
|
protocol = http
|
|
# The public url hostname, default is localhost
|
|
base_url = localhost
|
|
# The public url port
|
|
base_port = 80
|
|
# The public url base path, default is /
|
|
base_dir = /
|
|
# Force https for generated urls, default is false
|
|
force_ssl = false
|
|
|
|
# How many hours ahead Playout should cache scheduled media files, default is 1
|
|
cache_ahead_hours = 1
|
|
|
|
# Authentication adaptor to use for the legacy service, default is local
|
|
# Specify a class like LibreTime_Auth_Adaptor_FreeIpa to replace the built-in adaptor
|
|
auth = local
|
|
|
|
# ----------------------------------------------------------------------
|
|
# D A T A B A S E
|
|
# ----------------------------------------------------------------------
|
|
[database]
|
|
# The hostname of the PostgreSQL server, default is localhost
|
|
host = localhost
|
|
# The port of the PostgreSQL server, default is 5432
|
|
port = 5432
|
|
# The name of the PostgreSQL database, default is libretime
|
|
name = airtime
|
|
# The username of the PostgreSQL user, default is libretime
|
|
user = airtime
|
|
# The password of the PostgreSQL user, default is libretime
|
|
password = airtime
|
|
|
|
# ----------------------------------------------------------------------
|
|
# RABBITMQ
|
|
# ----------------------------------------------------------------------
|
|
[rabbitmq]
|
|
# The hostname of the RabbitMQ server, default is localhost
|
|
host = localhost
|
|
# The port of the RabbitMQ server, default is 5672
|
|
port = 5672
|
|
# The virtual host of RabbitMQ server, default is /libretime
|
|
vhost = /airtime
|
|
# The username of the RabbitMQ user, default is libretime
|
|
user = airtime
|
|
# The password of the RabbitMQ user, default is libretime
|
|
password = airtime
|
|
|
|
# ----------------------------------------------------------------------
|
|
# PLAYOUT
|
|
# ----------------------------------------------------------------------
|
|
[playout]
|
|
# Liquidsoap connection host, default is localhost
|
|
liquidsoap_host = localhost
|
|
# Liquidsoap connection port, default is 1234
|
|
liquidsoap_port = 1234
|
|
|
|
# The format for recordings, allowed values ogg|mp3, default is ogg
|
|
record_file_format = ogg
|
|
# The bitrate for recordings, default is 256
|
|
record_bitrate = 256
|
|
# The samplerate for recordings, default is 256
|
|
record_samplerate = 44100
|
|
# The number of channels for recordings, default is 2
|
|
record_channels = 2
|
|
# The sample size for recordings, default is 16
|
|
record_sample_size = 16
|
|
|
|
# ----------------------------------------------------------------------
|
|
# L D A P
|
|
# ----------------------------------------------------------------------
|
|
[ldap]
|
|
# Hostname of LDAP server
|
|
hostname = ldap.example.org
|
|
# Complete DN of user used to bind to LDAP
|
|
binddn = 'uid=libretime,cn=sysaccounts,cn=etc,dc=int,dc=example,dc=org'
|
|
# Password for binddn user
|
|
password = hackme
|
|
# Domain part of username
|
|
account_domain = INT.EXAMPLE.ORG
|
|
# Base search DN
|
|
basedn = 'cn=users,cn=accounts,dc=int,dc=example,dc=org'
|
|
# Name of the uid field for searching. Usually uid, may be cn
|
|
filter_field = uid
|
|
|
|
# Map user types to LDAP groups. Assign user types based on the group of a given user
|
|
# Key format is groupmap_*
|
|
groupmap_superadmin = 'cn=superadmin,cn=groups,cn=accounts,dc=int,dc=example,dc=org'
|
|
groupmap_admin = 'cn=admin,cn=groups,cn=accounts,dc=int,dc=example,dc=org'
|
|
groupmap_program_manager = 'cn=program_manager,cn=groups,cn=accounts,dc=int,dc=example,dc=org'
|
|
groupmap_host = 'cn=host,cn=groups,cn=accounts,dc=int,dc=example,dc=org'
|
|
groupmap_guest = 'cn=guest,cn=groups,cn=accounts,dc=int,dc=example,dc=org'
|