doker compose + deux-trois trucs pour développer plus facilement

This commit is contained in:
Nigel Sheldon 2020-11-19 13:55:22 +01:00
commit 6ff22f0279
6 changed files with 27 additions and 6 deletions

View file

@ -3,7 +3,11 @@
if(!defined('ONYX')) exit;
$___profile['db'] = 'hb_game';
$___profile['host'] = 'localhost';
if (getenv("MYSQL_HOST") === False) {
$___profile['host'] = 'localhost';
} else {
$___profile['host'] = getenv("MYSQL_HOST");
}
$___profile['user'] = 'hb';
$___profile['pass'] = 'hb';