work-on-deployment #15

Merged
lubiana merged 4 commits from work-on-deployment into main 2024-06-23 07:24:17 +00:00
3 changed files with 7 additions and 5 deletions
Showing only changes of commit 7f2eb7ec65 - Show all commits

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