mirror of
https://github.com/invoiceninja/dockerfiles.git
synced 2025-12-31 19:47:25 +01:00
Merge pull request #655 from turbo124/debian
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
|
- ./.env
|
||||||
volumes:
|
volumes:
|
||||||
- ./.env:/var/www/html/.env
|
- ./.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_storage:/var/www/html/storage
|
||||||
- app_cache:/var/www/html/bootstrap/cache
|
- app_cache:/var/www/html/bootstrap/cache
|
||||||
- image-public:/var/www/html/public:ro
|
- 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
|
killasgroup=true
|
||||||
user=www-data
|
user=www-data
|
||||||
numprocs=2
|
numprocs=2
|
||||||
redirect_stderr=true
|
environment=HOME="/var/www"
|
||||||
stdout_logfile=/dev/stdout
|
stdout_logfile=/var/log/php-worker.log
|
||||||
stdout_logfile_maxbytes=0
|
stderr_logfile=/var/log/php-worker.err.log
|
||||||
stderr_logfile=/dev/stderr
|
|
||||||
stderr_logfile_maxbytes=0
|
|
||||||
stopwaitsecs=3600
|
stopwaitsecs=3600
|
||||||
|
|
||||||
[program:scheduler]
|
[program:scheduler]
|
||||||
|
|||||||
Reference in New Issue
Block a user