diff --git a/index.php b/index.php index 41917ed..dc3934c 100644 --- a/index.php +++ b/index.php @@ -20,10 +20,10 @@ // --- DB CONFIG --- // You can also set these as environment variables in your Docker stack -$dbHost = $_ENV['DB_HOST'] ?? 'localhost'; -$dbName = $_ENV['DB_NAME'] ?? 'mediakor'; -$dbUser = $_ENV['DB_USER'] ?? 'mediakor'; -$dbPass = $_ENV['DB_PASS'] ?? 'mediakor_password'; +$dbHost = $_ENV['DB_HOST'] ?? 'mariadb'; +$dbName = $_ENV['DB_NAME'] ?? 'appdb'; +$dbUser = $_ENV['DB_USER'] ?? 'appuser'; +$dbPass = $_ENV['DB_PASS'] ?? 'apppass'; $posts = []; $dbError = null;