From 942d5487a591b2c83b385dbb81be99a9d901c5ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D0=B8=D0=BA=D1=82=D0=BE=D1=80?= <78488229+viktor138irk@users.noreply.github.com> Date: Mon, 18 May 2026 05:55:50 +0900 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=20=D0=BF=D1=80=D0=B8=D0=BC=D0=B5=D1=80=20=D0=BA=D0=BE?= =?UTF-8?q?=D0=BD=D1=84=D0=B8=D0=B3=D1=83=D1=80=D0=B0=D1=86=D0=B8=D0=B8=20?= =?UTF-8?q?=D0=BF=D1=80=D0=BE=D0=B5=D0=BA=D1=82=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/config.example.php | 48 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 config/config.example.php diff --git a/config/config.example.php b/config/config.example.php new file mode 100644 index 0000000..0e6365f --- /dev/null +++ b/config/config.example.php @@ -0,0 +1,48 @@ + [ + 'name' => 'XLX Server', + 'env' => 'production', + 'debug' => false, + 'base_url' => 'https://xlx.example.com', + 'timezone' => 'Europe/Amsterdam', + ], + + 'database' => [ + 'host' => '127.0.0.1', + 'port' => 3306, + 'name' => 'xlx_server', + 'user' => 'xlx_user', + 'password' => 'change_me', + 'charset' => 'utf8mb4', + ], + + 'xlx' => [ + 'reflector_name' => 'XLX000', + 'server_host' => 'xlx.example.com', + 'dashboard_port' => 8080, + 'dmr_port' => 62030, + 'default_module' => 'A', + 'config_path' => '/etc/xlx', + 'service_name' => 'xlxd', + ], + + 'id_allocator' => [ + 'min_id' => 9000001, + 'max_id' => 9099999, + ], + + 'billing' => [ + 'mode' => 'manual', + 'currency' => 'RUB', + ], + + 'security' => [ + 'session_name' => 'xlx_session', + 'password_min_length' => 10, + 'dmr_password_length' => 16, + ], +];