update fpm config
This commit is contained in:
parent
0661f5dd3f
commit
7f2eb7ec65
3 changed files with 7 additions and 5 deletions
|
@ -1,2 +0,0 @@
|
||||||
FROM git.php.fail/lubiana/container/php:8.3 as phpbuild
|
|
||||||
|
|
|
@ -7,4 +7,8 @@ pm = dynamic
|
||||||
pm.max_children = 5
|
pm.max_children = 5
|
||||||
pm.start_servers = 2
|
pm.start_servers = 2
|
||||||
pm.min_spare_servers = 1
|
pm.min_spare_servers = 1
|
||||||
pm.max_spare_servers = 3
|
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
4
deploy/prepare-deploy.sh
Normal file → Executable file
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
TARGETDIR='futtern-app'
|
TARGETDIR='deploy/futtern-app'
|
||||||
|
|
||||||
if [ -d $TARGETDIR ]; then
|
if [ -d $TARGETDIR ]; then
|
||||||
rm -rf $TARGETDIR
|
rm -rf $TARGETDIR
|
||||||
|
@ -8,7 +8,7 @@ fi
|
||||||
mkdir $TARGETDIR
|
mkdir $TARGETDIR
|
||||||
cd $TARGETDIR || return
|
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
|
for path in $pathsToCopy
|
||||||
do
|
do
|
||||||
|
|
Loading…
Reference in a new issue