From 75b6b2818e3d82ba59085ed37304e3a173830ddb Mon Sep 17 00:00:00 2001 From: Dorian HODIN Date: Sun, 27 Nov 2022 12:04:59 +0100 Subject: [PATCH] config.php and .drone.yml update --- .drone.yml | 2 +- Sources/php_script/script/config.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 983af70..85402d5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -92,7 +92,7 @@ steps: IMAGENAME: mariadb:10.5 CONTAINERNAME: mysql_location COMMAND: create - # OVERWRITE: false + OVERWRITE: true # PRIVATE: true CODEFIRST_CLIENTDRONE_ENV_MARIADB_ROOT_PASSWORD: from_secret: db_root_password diff --git a/Sources/php_script/script/config.php b/Sources/php_script/script/config.php index 8183c56..3d6438c 100644 --- a/Sources/php_script/script/config.php +++ b/Sources/php_script/script/config.php @@ -4,7 +4,7 @@ function connection(): bool|int|mysqli { $username = $_ENV["USER"]; //Get the username - $host = "https://codefirst.iut.uca.fr/containers/mysql_location-dorianhodin"; //Get the url of the database + $host = "host.codefirst.iut.uca.fr/containers/mysql_location-dorianhodin"; //Get the url of the database $password = $_ENV["PASSWORD"]; //Get the password for the user selected $db_name = $_ENV["DATABASE"]; //Get the name of the database