config.php update

remotes/origin/database-api-implementation
Dorian HODIN 2 years ago committed by felixmielcarek
parent b5c4b7a98c
commit 9738a74cdb

@ -75,13 +75,13 @@ steps:
CONTAINERNAME: php_script
COMMAND: create
OVERWRITE: true
CODEFIRST_CLIENTDRONE_ENV_INNODB_HOST:
HOST:
from_secret: db_host
CODEFIRST_CLIENTDRONE_ENV_INNODB_DATABASE:
DATABASE:
from_secret: db_database
CODEFIRST_CLIENTDRONE_ENV_INNODB_USER:
USER:
from_secret: db_user
CODEFIRST_CLIENTDRONE_ENV_INNODB_PASSWORD:
PASSWORD:
from_secret: db_password
depends_on: [ php_script ]

@ -1,6 +1,6 @@
<?php
$username="dafldev"; //Get the username
$host="89.83.53.34"; //Get the address IP of the hosting machine
$host=getenv("HOST"); //Get the address IP of the hosting machine
$password="wrap"; //Get the password for the user selected
$db_name="positiondaflmusic"; //Get the name of the database
try { //Try to connect to the database

Loading…
Cancel
Save