1
0
mirror of git://f0xx.org/android_cast synced 2026-07-29 06:39:09 +03:00

url shortener config / grants

This commit is contained in:
Anton Afanasyeu
2026-06-11 22:31:14 +02:00
parent dfaf9ab24d
commit ec84b3da44
4 changed files with 66 additions and 1 deletions

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',
];