forked from rosteleset/SesamePortal
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.php
More file actions
26 lines (25 loc) · 894 Bytes
/
Copy pathconfig.example.php
File metadata and controls
26 lines (25 loc) · 894 Bytes
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
<?php
return [
'state_dir' => '/var/lib/sesame-portal',
'db_path' => '/var/lib/sesame-portal/portal.sqlite',
'db_dsn' => null,
'db_user' => null,
'db_password' => null,
'app_secret' => 'replace-with-random-secret',
'timezone' => 'UTC',
'locale' => 'ru',
'base_url' => 'https://portal.example.com',
'auth_backend_path' => '/api/sesamedvr/auth',
'portal_update_enabled' => true,
'portal_update_github_repo' => 'rosteleset/SesamePortal',
'portal_update_github_ref' => 'main',
'portal_update_github_token' => '',
'portal_update_check_ttl_seconds' => 600,
'portal_update_auto_check' => true,
'portal_update_command' => 'sudo -n /usr/local/sbin/sesame-portal-update',
'portal_update_pass_args' => false,
'crypto_primary_key' => 'primary',
'crypto_keys' => [
'primary' => 'replace-with-random-secret',
],
];