Skip to content

Commit

Permalink
update supervosrd.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
kangketikonlen committed Nov 5, 2024
1 parent 936827c commit 9585c9b
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions .docker/conf/supervisord.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
[supervisord]
user=root
nodaemon=true
logfile=/dev/stdout
logfile_maxbytes=0
pidfile=/var/run/supervisord.pid
loglevel=INFO

[program:php-fpm]
command=/usr/sbin/php-fpm82 --nodaemonize
autostart=true
autorestart=true
priority=5
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0

[program:nginx]
command=/usr/sbin/nginx -g "daemon off;"
autostart=true
autorestart=true
priority=10
stdout_events_enabled=true
stderr_events_enabled=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0

[program:horizon]
process_name=%(program_name)s
command=php /var/www/app/artisan horizon
autostart=true
autorestart=true
redirect_stderr=true
stdout_logfile=/var/www/app/storage/logs/horizon.log
stopwaitsecs=3600

[program:echo-server]
process_name=%(program_name)s_%(process_num)04d
command=/usr/bin/node /usr/local/bin/laravel-echo-server start --dir=/var/www/app
autostart=true
autorestart=true
stopasgroup=true
killasgroup=true
redirect_stderr=true
stdout_logfile=/var/www/app/storage/logs/echoserver.log
stderr_logfile=/var/www/app/storage/logs/echoserver-error.log

0 comments on commit 9585c9b

Please sign in to comment.