update fpm config

This commit is contained in:
Jonas 2024-06-23 08:27:17 +02:00
parent 0661f5dd3f
commit 7f2eb7ec65
Signed by: lubiana
SSH key fingerprint: SHA256:gkqM8DUX4Blf6P52fycW8ISTd+4eAHH+Uzu9iyc8hAM
3 changed files with 7 additions and 5 deletions

View file

@ -1,2 +0,0 @@
FROM git.php.fail/lubiana/container/php:8.3 as phpbuild

View file

@ -8,3 +8,7 @@ pm.max_children = 5
pm.start_servers = 2
pm.min_spare_servers = 1
pm.max_spare_servers = 3
env[APP_ENV]=$APP_ENV
env[APP_SECRET]=$APP_SECRET
error_log = /var/log/php-fpm.log
catch_workers_output = yes

4
deploy/prepare-deploy.sh Normal file → Executable file
View file

@ -1,6 +1,6 @@
#!/usr/bin/env sh
TARGETDIR='futtern-app'
TARGETDIR='deploy/futtern-app'
if [ -d $TARGETDIR ]; then
rm -rf $TARGETDIR
@ -8,7 +8,7 @@ fi
mkdir $TARGETDIR
cd $TARGETDIR || return
pathsToCopy="public bin config migrations src templates composer.json composer.lock symfony.lock .env etc"
pathsToCopy="public bin config migrations src templates composer.json composer.lock symfony.lock .env"
for path in $pathsToCopy
do