This commit is contained in:
Anton Afanasyeu
2026-06-23 12:21:13 +02:00
commit ca4d54fa18
30 changed files with 1400 additions and 0 deletions

20
config/config.example.php Normal file
View File

@@ -0,0 +1,20 @@
<?php
/**
* URL shortener — BE config (copy to config.php on Alpine).
* DB user: reuse crash reporter app user (same password as androidcast_crashes in crashes config.php).
*/
return [
'db' => [
'driver' => 'mysql',
'mysql' => [
'host' => '127.0.0.1',
'port' => 3306,
'socket' => '/run/mysqld/mysqld.sock',
'database' => 'url_shortener',
'username' => 'androidcast',
'password' => 'change-me-same-as-crashes-config',
'charset' => 'utf8mb4',
],
],
'public_base' => 'https://s.f0xx.org',
];