This commit is contained in:
ekazak
2022-10-05 18:11:33 +02:00
parent 553ad65689
commit e919d1043f
2 changed files with 21 additions and 7 deletions

13
devops/entrypoint.sh Normal file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
printf "\n\nStarting PHP daemon...\n\n"
php-fpm --daemonize
printf "Starting Nginx...\n\n"
set -e
if [[ "$1" == -* ]]; then
set -- nginx -g daemon off; "$@"
fi
exec "$@"