This commit is contained in:
8
docker/supervisor/conf.d/apache.conf
Normal file
8
docker/supervisor/conf.d/apache.conf
Normal file
@@ -0,0 +1,8 @@
|
||||
[program:apache]
|
||||
command=/usr/sbin/apache2ctl -DFOREGROUND
|
||||
autostart=true
|
||||
autorestart=true
|
||||
stdout_logfile=/dev/stdout
|
||||
stdout_logfile_maxbytes=0
|
||||
stderr_logfile=/dev/stderr
|
||||
stderr_logfile_maxbytes=0
|
||||
10
docker/supervisor/conf.d/websockets.conf
Normal file
10
docker/supervisor/conf.d/websockets.conf
Normal file
@@ -0,0 +1,10 @@
|
||||
[program:websockets]
|
||||
directory=/var/www/api
|
||||
command=/usr/bin/php /var/www/api/artisan websockets:serve
|
||||
user=www-data
|
||||
autostart=true
|
||||
autorestart=true
|
||||
stdout_logfile=/dev/stdout
|
||||
stdout_logfile_maxbytes=0
|
||||
stderr_logfile=/dev/stderr
|
||||
stderr_logfile_maxbytes=0
|
||||
Reference in New Issue
Block a user