Merge pull request 'Basic CI/CD integration' (#4) from workflows into container
All checks were successful
Build Hello World Image / build (push) Successful in 32s

Reviewed-on: #4
This commit is contained in:
asohh 2025-10-12 17:07:01 +02:00
commit 2b97fe8b10
14 changed files with 105 additions and 164 deletions

View file

@ -2,15 +2,15 @@
// Admin credentials (must have privileges to create DB/users)
$dbHost = getenv('MYSQL_HOST');
$dbAdmin = getenv('MYSQL_USER');
$dbPassword = getenv('MYSQL_PASSWD');
$dbPassword = getenv('MYSQL_PASSWORD');
$dbName = getenv('MYSQL_DB');
// Variables for new users
$cameraUser = getenv('CAMERA_USER');
$cameraPassword = getenv('CAMERA_USER_PASSWD');
$cameraPassword = getenv('CAMERA_USER_PASSWORD');
$camSelectUser = getenv('CAMERA_SELECT_USER');
$camSelectPassword = getenv('CAMERA_SELECT_USER_PASSWD');
$camSelectPassword = getenv('CAMERA_SELECT_USER_PASSWORD');
// Connect to MySQL
$conn = new mysqli($dbHost, $dbAdmin, $dbPassword);