Skip to content

Commit

Permalink
feat: Add execution of docker-php-entrypoint in entrypoint scripts an…
Browse files Browse the repository at this point in the history
…d clean up supervisord configuration
  • Loading branch information
MrAnyx committed Jan 4, 2025
1 parent e793226 commit f5d005f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
2 changes: 2 additions & 0 deletions .docker/entrypoint.dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ service supervisor start
supervisorctl reread
supervisorctl update
supervisorctl restart all

exec docker-php-entrypoint "$@"
2 changes: 2 additions & 0 deletions .docker/entrypoint.prod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ service supervisor start
supervisorctl reread
supervisorctl update
supervisorctl restart all

exec docker-php-entrypoint "$@"
9 changes: 0 additions & 9 deletions .docker/supervisord.conf
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
[program:env]
command=env
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
autorestart=false
autostart=true

[program:apache]
command=apache2-foreground
stdout_logfile=/dev/stdout
Expand Down

0 comments on commit f5d005f

Please sign in to comment.