Files
reflector-dashboard/auth/config.php.example
T
bjorne b209d07189 install: Redis socket consistent across all three configs + clearer step 3 check
config.php.example defaulted to /run/redis/redis.sock while the dedicated Redis
instance (step 3) and svxdr.json.example use /run/redis-svxportal/redis.sock — a
beginner copying the example got a 500 on login. All three now point at the one
dedicated socket; step 3 notes it and labels the check.
2026-11-18 22:17:37 +01:00

35 lines
1.2 KiB
Plaintext

<?php
declare(strict_types=1);
return [
'redis' => [
'unix_socket' => '/run/redis-svxportal/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',
];