mirror of
https://github.com/invoiceninja/dockerfiles.git
synced 2025-12-31 19:47:25 +01:00
Set home path for PHP when supervisor boots
This commit is contained in:
2
debian/docker-compose.yml
vendored
2
debian/docker-compose.yml
vendored
@@ -14,6 +14,8 @@ services:
|
||||
- ./.env
|
||||
volumes:
|
||||
- ./.env:/var/www/html/.env
|
||||
- ./php/php.ini:/usr/local/etc/php/php.ini
|
||||
- ./supervisor/supervisord.conf:/etc/supervisor/conf.d/supervisord.conf
|
||||
- app_storage:/var/www/html/storage
|
||||
- app_cache:/var/www/html/bootstrap/cache
|
||||
- image-public:/var/www/html/public:ro
|
||||
|
||||
8
debian/supervisor/supervisord.conf
vendored
8
debian/supervisor/supervisord.conf
vendored
@@ -33,11 +33,9 @@ stopasgroup=true
|
||||
killasgroup=true
|
||||
user=www-data
|
||||
numprocs=2
|
||||
redirect_stderr=true
|
||||
stdout_logfile=/dev/stdout
|
||||
stdout_logfile_maxbytes=0
|
||||
stderr_logfile=/dev/stderr
|
||||
stderr_logfile_maxbytes=0
|
||||
environment=HOME="/var/www"
|
||||
stdout_logfile=/var/log/php-worker.log
|
||||
stderr_logfile=/var/log/php-worker.err.log
|
||||
stopwaitsecs=3600
|
||||
|
||||
[program:scheduler]
|
||||
|
||||
Reference in New Issue
Block a user