major rewite to remove HEREDOC
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 2m13s

This commit is contained in:
2025-08-12 10:51:56 -05:00
parent b4a6caa179
commit 5de5a2bf48
4 changed files with 37 additions and 29 deletions

8
config/override-db.php Normal file
View File

@@ -0,0 +1,8 @@
<?php
// ---- overrides injected at runtime ----
$configValues['CONFIG_DB_ENGINE'] = 'mysqli';
$configValues['CONFIG_DB_HOST'] = getenv('DBHOST') ?: 'db';
$configValues['CONFIG_DB_PORT'] = getenv('DBPORT') ?: '3306';
$configValues['CONFIG_DB_USER'] = getenv('DBUSER') ?: 'radius';
$configValues['CONFIG_DB_PASS'] = getenv('DBPASS') ?: '';
$configValues['CONFIG_DB_NAME'] = getenv('DBNAME') ?: 'radius';