netgescon-day0/config/distribution.php

27 lines
1.0 KiB
PHP

<?php
return [
// Base URL del server che distribuisce i pacchetti di aggiornamento.
'update_url' => env('NETGESCON_UPDATE_URL', ''),
// Canale di default per il nodo (free o licensed).
'default_channel' => env('NETGESCON_UPDATE_CHANNEL', 'free'),
// Identificativo nodo opzionale, utile per audit lato server update.
'node_code' => env('NETGESCON_NODE_CODE', ''),
// Credenziali lato client per canale licensed.
'licensed_code' => env('NETGESCON_LICENSED_CODE', ''),
'licensed_auth' => env('NETGESCON_LICENSED_AUTH', ''),
// Credenziali lato server: lista "code:auth" separata da virgola.
// Esempio: NODEA:abc123,NODEB:def456
'licensed_pairs' => env('NETGESCON_LICENSED_PAIRS', ''),
// Percorso locale dove il server update espone manifest e pacchetti.
'storage_root' => storage_path('app/distribution'),
// Timeout client per check/download.
'http_timeout_seconds' => (int) env('NETGESCON_UPDATE_HTTP_TIMEOUT', 60),
];