diff --git a/runtimes/7.4/start-container b/runtimes/7.4/start-container index 3668e1ae..39e52706 100644 --- a/runtimes/7.4/start-container +++ b/runtimes/7.4/start-container @@ -13,5 +13,5 @@ chmod -R ugo+rw /.composer if [ $# -gt 0 ];then exec gosu $WWWUSER "$@" else - /usr/bin/supervisord + /usr/bin/supervisord -c /etc/supervisor/conf.d/supervisord.conf fi diff --git a/runtimes/7.4/supervisord.conf b/runtimes/7.4/supervisord.conf index 1f731b16..68bd6893 100644 --- a/runtimes/7.4/supervisord.conf +++ b/runtimes/7.4/supervisord.conf @@ -1,5 +1,6 @@ [supervisord] nodaemon=true +user=root [program:php] command=/usr/bin/php -d variables_order=EGPCS /var/www/html/artisan serve --host=0.0.0.0 --port=80 diff --git a/runtimes/8.0/start-container b/runtimes/8.0/start-container index 3668e1ae..39e52706 100644 --- a/runtimes/8.0/start-container +++ b/runtimes/8.0/start-container @@ -13,5 +13,5 @@ chmod -R ugo+rw /.composer if [ $# -gt 0 ];then exec gosu $WWWUSER "$@" else - /usr/bin/supervisord + /usr/bin/supervisord -c /etc/supervisor/conf.d/supervisord.conf fi diff --git a/runtimes/8.0/supervisord.conf b/runtimes/8.0/supervisord.conf index 1f731b16..68bd6893 100644 --- a/runtimes/8.0/supervisord.conf +++ b/runtimes/8.0/supervisord.conf @@ -1,5 +1,6 @@ [supervisord] nodaemon=true +user=root [program:php] command=/usr/bin/php -d variables_order=EGPCS /var/www/html/artisan serve --host=0.0.0.0 --port=80