From b63a952e5ae7f9dc97b497399bc92263c63e99d8 Mon Sep 17 00:00:00 2001 From: Atlaskor Date: Tue, 25 Nov 2025 23:11:04 +0000 Subject: [PATCH] Update index.php --- index.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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;