The devilbox




Docker setup



HTTPD_version();?>

PHP_version(); ?>

MySQL_version();?>



httpd docker
IP Address
Document Root /shared/httpd
PHP_has_valid_mysql_socket($error); ?> getEnv('MYSQL_ROOT_PASSWORD'), 'localhost'); ?> getEnv('MYSQL_ROOT_PASSWORD'), '127.0.0.1'); ?> getEnv('MYSQL_ROOT_PASSWORD'), $MYSQL_HOST_ADDR); ?>
php docker
IP Address
Document Root /shared/httpd
Custom config PHP_custom_config_files() as $file): ?> ';?>
MySQL socket '.$error.'' : $Docker->getEnv('MYSQL_SOCKET_PATH'); ?>
MySQL test OK localhost:3306' : 'Failed: localhost:3306
'.$err.''; ?>
MySQL test OK 127.0.0.1:3306' : 'Failed: 127.0.0.1:3306
'.$err.''; ?>
MySQL test OK '.$MYSQL_HOST_ADDR.':3306' : 'Failed: '.$MYSQL_HOST_ADDR.':3306
'.$err.''; ?>
Postfix getEnv('ENABLE_MAIL') ? 'OK Enabled' : 'No Disabled';?>
Xdebug enabled getEnv('PHP_XDEBUG_ENABLE') == 0) ? '' : $Docker->getEnv('PHP_XDEBUG_ENABLE'); ?> PHP_config('xdebug.remote_enable')): ?> PHP_config('xdebug.remote_enable') == 1 ? 'Yes' : 'No'; ?> '; ?> PHP_config('xdebug.remote_enable'); ?>
Xdebug remote getEnv('PHP_XDEBUG_REMOTE_HOST') == $Docker->PHP_config('xdebug.remote_host')): ?> PHP_config('xdebug.remote_host'); ?> '; ?> PHP_config('xdebug.remote_host'); ?>
Xdebug Port getEnv('PHP_XDEBUG_REMOTE_PORT') == $Docker->PHP_config('xdebug.remote_port')): ?> PHP_config('xdebug.remote_port'); ?> '; ?> PHP_config('xdebug.remote_port'); ?>
db docker
IP Address
MySQL socket MySQL_config('socket'); ?>
MySQL datadir MySQL_config('datadir'); ?>


Docker to Host mounts



httpd docker host
Document Root getEnv('HOST_PATH_TO_WWW_DOCROOTS');?>
Log directory ./log
php docker host
Document Root getEnv('HOST_PATH_TO_WWW_DOCROOTS');?>
Custom config ./etc
MySQL socket ./run/mysql/mysqld.sock
Log directory ./log
db docker host
MySQL datadir getEnv('HOST_PATH_TO_MYSQL_DATADIR');?>
MySQL socket ./run/mysql/mysqld.sock
Log directory ./log