LaravelPublisher v0.0.2 問題修正 20250610

This commit is contained in:
allen.yan 2025-06-10 12:40:17 +08:00
parent 3f8cba6fad
commit 795cc86bae
2 changed files with 2 additions and 1 deletions

View File

@ -40,5 +40,5 @@ chmod -R 775 storage bootstrap/cache
mkdir -p /var/www/logs mkdir -p /var/www/logs
supervisord -c /etc/supervisor/conf.d/supervisord.conf & supervisord -c /etc/supervisor/conf.d/supervisord.conf &
php-fpm -D php-fpm -D
envsubst "${NGINX_HOST} ${NGINX_PORT}" < /etc/nginx/templates/default.conf.template > /etc/nginx/conf.d/default.conf envsubst '${NGINX_HOST} ${NGINX_PORT}' < /etc/nginx/templates/default.conf.template > /etc/nginx/conf.d/default.conf
exec nginx -g "daemon off;" exec nginx -g "daemon off;"

View File

@ -1,4 +1,5 @@
[supervisord] [supervisord]
user=root
nodaemon=true nodaemon=true
logfile=/var/www/logs/supervisord.log ; 設定 log 儲存位置 logfile=/var/www/logs/supervisord.log ; 設定 log 儲存位置
pidfile=/var/www/logs/supervisord.pid ; 設定 pid 儲存位置 pidfile=/var/www/logs/supervisord.pid ; 設定 pid 儲存位置