File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -123,6 +123,8 @@ services:
123123 - INSTALL_PGSQL=${PHP_WORKER_INSTALL_PGSQL}
124124 volumes_from :
125125 - applications
126+ volumes :
127+ - ./php-worker/supervisord.d:/etc/supervisord.d
126128 depends_on :
127129 - workspace
128130 extra_hosts :
Original file line number Diff line number Diff line change @@ -6,10 +6,5 @@ port = 127.0.0.1:9001
66[rpcinterface:supervisor]
77supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
88
9- [program:laravel-worker]
10- process_name=%(program_name)s_%(process_num)02d
11- command=php /var/www/artisan queue:work --sleep=3 --tries=3 --daemon
12- autostart=true
13- autorestart=true
14- numprocs=8
15- redirect_stderr=true
9+ [include]
10+ files = supervisord.d/*.conf
Original file line number Diff line number Diff line change 1+ [program:laravel-worker]
2+ process_name=%(program_name)s_%(process_num)02d
3+ command=php /var/www/artisan queue:work --sleep=3 --tries=3 --daemon
4+ autostart=true
5+ autorestart=true
6+ numprocs=8
7+ redirect_stderr=true
You can’t perform that action at this time.
0 commit comments