mirror of
https://github.com/dat515-2025/Group-8.git
synced 2026-03-22 23:20:56 +01:00
feat(infrastructure): add cloudflare, argocd
This commit is contained in:
@@ -10,23 +10,23 @@ data:
|
||||
|
||||
echo "
|
||||
/* Maximum number of databases displayed on one page */
|
||||
$cfg['MaxDbList'] = 300;
|
||||
$cfg['MaxNavigationItems'] = 300;
|
||||
\$cfg['MaxDbList'] = 300;
|
||||
\$cfg['MaxNavigationItems'] = 300;
|
||||
/* Additional servers */
|
||||
$servers = [
|
||||
\$servers = [
|
||||
{{- range $i, $e := until (int (3)) }}
|
||||
'mariadb-repl-{{ $i }}',
|
||||
{{- end }}
|
||||
];
|
||||
foreach ($servers as $server) {
|
||||
$i++;
|
||||
foreach (\$servers as \$server) {
|
||||
\$i++;
|
||||
/* Authentication type */
|
||||
$cfg['Servers'][$i]['auth_type'] = 'cookie';
|
||||
\$cfg['Servers'][\$i]['auth_type'] = 'cookie';
|
||||
/* Server parameters */
|
||||
$cfg['Servers'][$i]['host'] = $server;
|
||||
$cfg['Servers'][$i]['port'] = '3306';
|
||||
$cfg['Servers'][$i]['compress'] = false;
|
||||
$cfg['Servers'][$i]['AllowNoPassword'] = false;
|
||||
\$cfg['Servers'][\$i]['host'] = \$server;
|
||||
\$cfg['Servers'][\$i]['port'] = '3306';
|
||||
\$cfg['Servers'][\$i]['compress'] = false;
|
||||
\$cfg['Servers'][\$i]['AllowNoPassword'] = false;
|
||||
}
|
||||
" >> /opt/bitnami/phpmyadmin/config.inc.php
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user