diff --git a/Dockerfiles/h5ai/class-setup.php.patch b/Dockerfiles/h5ai/class-setup.php.patch new file mode 100644 index 0000000..fc91f31 --- /dev/null +++ b/Dockerfiles/h5ai/class-setup.php.patch @@ -0,0 +1,11 @@ +--- a/class-setup.php ++++ b/class-setup.php +@@ -97,7 +97,7 @@ class Setup { + $this->set('H5AI_PATH', Util::normalize_path(dirname(dirname(dirname(dirname(__FILE__)))), false)); + + $this->set('ROOT_HREF', Util::normalize_path(dirname($this->get('H5AI_HREF')), true)); +- $this->set('ROOT_PATH', Util::normalize_path(dirname($this->get('H5AI_PATH')), false)); ++ $this->set('ROOT_PATH', "/var/www"); + + $this->set('PUBLIC_HREF', Util::normalize_path($this->get('H5AI_HREF') . '/public/', true)); + $this->set('PUBLIC_PATH', Util::normalize_path($this->get('H5AI_PATH') . '/public/', false)); \ No newline at end of file diff --git a/Dockerfiles/h5ai/supervisord.conf b/Dockerfiles/h5ai/supervisord.conf new file mode 100644 index 0000000..0fc07a4 --- /dev/null +++ b/Dockerfiles/h5ai/supervisord.conf @@ -0,0 +1,9 @@ +[supervisord] +nodaemon=true +logfile=/var/log/supervisor/supervisord.log + +[program:php5-fpm] +command=/usr/sbin/php5-fpm --nodaemonize + +[program:nginx] +command=/usr/sbin/nginx -g "daemon off;" \ No newline at end of file