Files
reflector-dashboard/auth/config.php.example
T

35 lines
1.1 KiB
Plaintext

<?php
declare(strict_types=1);
return [
'redis' => [
'unix_socket' => '/run/redis/redis.sock',
'password' => 'CHANGEME',
'host' => '127.0.0.1',
'port' => 6379,
'db' => 0,
'prefix' => 'registry:svxlink:',
],
'session' => [
'name' => 'svxportal_sess',
'cookie_secure' => true,
'cookie_samesite' => 'Lax',
],
'mail' => [ 'from' => 'no-reply@example.com' ],
// MQTT. pub_* = the broker the PORTAL publishes node commands to (can also be set
// in the web admin, Redis overrides these). node_broker_* = the broker address
// shown to node owners for their node's MQTT client (usually your public TLS port).
'mqtt' => [
'pub_host' => '127.0.0.1',
'pub_port' => 1883,
'pub_user' => '',
'pub_pass' => '',
'node_broker_host' => 'svx.example.com',
'node_broker_port' => 8883,
],
'base_url' => 'https://svx.example.com',
// Canonical TG list JSON file (SVX source of truth; DMR uses Redis instead).
// Must be writable by the web user (www-data) and readable by svxdr.
'tglist_file' => '/etc/svxlink/tglist.json',
];