33 lines
756 B
Plaintext
33 lines
756 B
Plaintext
; app container runs php-fpm + nginx + vite together (dev).
|
|
; reverb/queue override the compose command, so supervisord never starts there.
|
|
|
|
[program:php-fpm]
|
|
command=php-fpm -F
|
|
autorestart=true
|
|
priority=10
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/stderr
|
|
stderr_logfile_maxbytes=0
|
|
|
|
[program:nginx]
|
|
command=nginx -g 'daemon off;'
|
|
autorestart=true
|
|
priority=20
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/stderr
|
|
stderr_logfile_maxbytes=0
|
|
|
|
[program:vite]
|
|
command=npm run dev -- --host 0.0.0.0
|
|
directory=/var/www/html
|
|
user=www-data
|
|
environment=HOME="/var/www/html"
|
|
autorestart=true
|
|
priority=30
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/stderr
|
|
stderr_logfile_maxbytes=0
|