Document and deploy local credential access and phpMyAdmin sign-on
Coulobre Panel CI / Checks (Python 3.12) (pull_request) Canceled after 0s
Coulobre Panel CI / Checks (Python 3.14) (pull_request) Canceled after 0s

This commit is contained in:
parkel committed 2026-11-21 16:27:07 +01:00
1 parent 9b0a1e0299
commit 53288c3130
9 files changed
+301 -1

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
<?php
declare(strict_types=1);
$coulobre = require '/etc/coulobre-phpmyadmin/bridge.php';
$cfg['TempDir'] = '/var/lib/coulobre-phpmyadmin/tmp';
$cfg['blowfish_secret'] = hex2bin(trim(file_get_contents('/etc/coulobre-phpmyadmin/session.key')));
$cfg['SessionSavePath'] = $coulobre['session_path'];
$cfg['AllowArbitraryServer'] = false;
$cfg['Servers'][1] = [
'auth_type' => 'signon',
'host' => 'localhost',
'socket' => '/run/mysqld/mysqld.sock',
'AllowRoot' => false,
'SignonSession' => $coulobre['signon_session'],
'SignonCookieParams' => $coulobre['cookie_params'],
'SignonURL' => $coulobre['panel_origin'] . '/',
'LogoutURL' => $coulobre['panel_origin'] . '/',
];
unset($coulobre);