mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-20 17:15:51 +02:00
Default docker container uses php-fpm and preloading now
This gives us a approx. 12% performance boost
This commit is contained in:
parent
9ed1e896cb
commit
e808964913
2 changed files with 12 additions and 6 deletions
|
@ -39,6 +39,9 @@ if [ -d /var/www/html/var/db ]; then
|
|||
fi
|
||||
fi
|
||||
|
||||
# Start PHP-FPM
|
||||
service php8.1-fpm start
|
||||
|
||||
# first arg is `-f` or `--some-option` (taken from https://github.com/docker-library/php/blob/master/8.2/bullseye/apache/docker-php-entrypoint)
|
||||
if [ "${1#-}" != "$1" ]; then
|
||||
set -- apache2-foreground "$@"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue