Skip to content

Commit

Permalink
build: added some strenghtening to container processes
Browse files Browse the repository at this point in the history
  • Loading branch information
Tbaile committed Apr 22, 2024
1 parent c7535de commit b042ff7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions containers/etc/supervisor.d/worker.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
process_name=%(program_name)s_%(process_num)02d
command=php /var/www/html/artisan queue:work --tries=3
user=www-data
autorestart=true
numprocs=1
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
Expand Down
9 changes: 9 additions & 0 deletions containers/etc/supervisord.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
[unix_http_server]
file=/run/supervisord.sock

[supervisord]
user=root
logfile=/dev/null
logfile_maxbytes=0

[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface

[supervisorctl]
serverurl=unix:///run/supervisord.sock

[include]
files = /etc/supervisor.d/*.ini

0 comments on commit b042ff7

Please sign in to comment.