Skip to content

Commit

Permalink
Merge pull request #655 from turbo124/debian
Browse files Browse the repository at this point in the history
Set home path for PHP when supervisor boots
  • Loading branch information
turbo124 authored Nov 25, 2024
2 parents f58ca72 + d178610 commit 60fd0aa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 2 additions & 0 deletions debian/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 3 additions & 5 deletions debian/supervisor/supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 60fd0aa

Please sign in to comment.