-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings_template.php
executable file
·66 lines (52 loc) · 1.61 KB
/
settings_template.php
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
<?php
$config = [
// PHP Settings
'displayErrorDetails' => true,
'addContentLengthHeader' => false,
// URL the website runs on
'server_domain' => 'mywebsite.com',
// Path to the SQLite database file
'SQLiteFilePath' => 'db/sqlite.db',
// Directory where chunked uploads will be held
'temp_directory' => __DIR__ . '/temp',
// Directory where videos will be delivered from
'upload_directory' => __DIR__ . '/processing',
// Directory to store videos after processing
'processed_directory' => __DIR__ . '/final',
// URL where the final processed content is located, this can be a simple
// local path, web server, or cloud storage URL like cloudfront.
'content_url_root' => __DIR__ . '/content',
// Job Queue -- RabbitMQ Configuration
'jobq_host' => 'localhost',
'jobq_port' => 5672,
'jobq_user' => 'guest',
'jobq_pass' => 'guest',
// Log Server -- Redis Configuration
'log_host' => 'localhost',
'log_port' => 6379,
'log_pass' => 'password',
// Database connection
'db_connection' => [
'driver' => 'pdo_mysql',
'host' => 'localhost',
'dbname' => 'vodhost',
'user' => 'vodhost',
'password' => 'your-password',
],
// Internal API Key - MUST BE CHANGED
'api_key' => 'key',
'storage' => [
'engine' => 's3',
's3_bucket' => '',
's3_region' => '',
's3_key' => '',
's3_secret' => ''
],
'mail' => [
'host' => 'myhost',
'port' => 587,
'username' => 'username',
'password' => 'password',
'security' => 'tls'
]
];