diff --git a/.drone.yml b/.drone.yml index 040dead..983af70 100644 --- a/.drone.yml +++ b/.drone.yml @@ -89,7 +89,7 @@ steps: - name: db_location image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest environment: - IMAGENAME: mariadb:10 + IMAGENAME: mariadb:10.5 CONTAINERNAME: mysql_location COMMAND: create # OVERWRITE: false diff --git a/Sources/php_script/script/config.php b/Sources/php_script/script/config.php index f021795..8183c56 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 = "172.17.0.1"; //Get the url of the database + $host = "https://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