First push

This commit is contained in:
WilliamMiceli
2019-10-18 22:16:54 -04:00
parent 10d9caeb07
commit 991b02e3c2
4 changed files with 87 additions and 0 deletions

13
entrypoint.sh Normal file
View File

@@ -0,0 +1,13 @@
#!/bin/sh
echo "[ INFO ] Recursively setting default nginx:nginx permissions on web directory"
chown -R nginx:nginx /var/www
echo "[ INFO ] Starting PHP-FPM"
php-fpm7 -D # Background
echo "[ INFO ] Starting cron"
crond # Background
echo "[ INFO ] Starting nginx"
nginx -g "daemon off;" # Foreground