forked from avalonmediasystem/avalon
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsettings.yml
117 lines (116 loc) · 3.51 KB
/
settings.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
name: 'Avalon Media System' # used in page titles
domain: http://av-local:3000
dropbox:
path: /masterfiles/dropbox
upload_uri: /masterfiles/dropbox
# google_drive:
# client_id: id
# client_secret: secret
# redis_token_store_url: redis://host:port # if different from Avalon's Redis
encoding:
engine_adapter: ffmpeg
presets_path: config/ffmpeg_presets.yml
mediainfo:
path: '/usr/bin/mediainfo --urlencode' # Fixes mediainfo v20.03 bug with S3 presigned URL
ffmpeg:
path: '/usr/local/bin/ffmpeg'
email:
mailer: :smtp
config:
address: mail-relay.university.edu
port: 25
enable_starttls_auto: false
comments: '[email protected]'
notification: '[email protected]'
support: '[email protected]'
solr:
configset: avalon
configset_source_path: <%= File.join(Rails.root, 'solr', 'config') %>
collection_options:
async:
auto_add_replicas:
collection:
config_name: avalon
create_node_set:
max_shards_per_node:
num_shards: 1
replication_factor:
router:
name:
field:
rule:
shards:
snitch:
zookeeper:
connection_str: 'localhost:9983/configs'
streaming:
server: :generic
stream_token_ttl: 20 #minutes
content_path: '/streamfiles'
rtmp_base: 'rtmp://localhost/avalon'
http_base: 'http://localhost:3000/streams'
default_quality: 'auto'
redis:
host: localhost
port: 6379
db: 0
groups:
system_groups: [administrator, group_manager, manager]
master_file_management:
strategy: 'move' #'delete', or 'move' (for move uncomment and configure next line)
path: '/masterfiles/archive'
bib_retriever:
default:
protocol: sru
url: http://zgate.example.edu:9000/exampledb
query: rec.id='%s'
retriever_class: 'Avalon::BibRetriever::SRU'
retriever_class_require: 'avalon/bib_retriever/sru'
controlled_vocabulary:
path: config/controlled_vocabulary.yml
encode_throttling:
create_jobs_throttle_threshold: 2
create_jobs_spacing: 5
update_jobs_throttle_threshold: 3
update_jobs_spacing: 10
auth:
registerable: false
configuration:
- :name: CAS Login
:provider: :saml
:params:
issuer: av-local
idp_cert_fingerprint: 'B8:98:58:08:FA:42:BB:D2:86:14:49:61:8F:B9:BF:7B:45:1A:7C:67'
idp_sso_target_url: https://shib.idm.umd.edu/shibboleth-idp/profile/SAML2/Redirect/SSO
idp_slo_target_url: https://shib.idm.umd.edu/shibboleth-idp/profile/Logout
uid_attribute: 'urn:oid:0.9.2342.19200300.100.1.1'
idp_sso_target_url_runtime_params:
request_uri: RelayState
attribute_statements:
email: ['urn:oid:0.9.2342.19200300.100.1.3']
roles: ['urn:oid:1.3.6.1.4.1.5923.1.1.1.7']
security:
authn_requests_signed: true # Enable or not signature on AuthNRequest
want_assertions_signed: true # Enable or not the requirement of signed assertion
digest_method: http://www.w3.org/2000/09/xmldsig#sha1
signature_method: http://www.w3.org/2000/09/xmldsig#rsa-sha1
embed_sign: false
metadata_signed: false # Enable or not signature on Metadata
# request_attributes: {}
# configuration:
# - :name: Avalon Lti OAuth
# :provider: :lti
# :hidden: true
# :params:
# :oauth_credentials:
# somekey: somesecret
# google_analytics_tracking_id: "someid"
supplemental_files:
proxy: false
waveform:
player_width: 1200 #pixels
finest_zoom: 5 #seconds
sample_rate: 41000
active_storage:
service: local
#bucket: supplementalfiles