Skip to content

Commit 6389199

Browse files
author
Philipp Kübler
committed
Merge remote-tracking branch 'upstream/develop' into feature/use_startup_commands
2 parents c65cab7 + f17b0f8 commit 6389199

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

etc/nginx/nginx.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ http {
1818
'$status $body_bytes_sent "$http_referer" '
1919
'"$http_user_agent" "$http_x_forwarded_for"';
2020

21-
access_log /dev/stdout main;
21+
access_log /dev/null main;
2222

2323
sendfile on;
2424

home/app/run-dev.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ composer install --prefer-dist --no-progress --no-interaction
77
yarn
88

99
# migrate and setup database
10-
wait-for-it.sh mysql:3306
10+
if [ -z "$DB_HOST" ]; then
11+
wait-for-it.sh $DB_HOST
12+
fi
1113
php artisan migrate --force
1214
php artisan setup
1315

home/app/run-prod.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ echo "Running via PROD script..."
33
cd /opt/app
44

55
# migrate and setup database
6-
wait-for-it.sh mysql:3306
6+
if [ -z "$DB_HOST" ]; then
7+
wait-for-it.sh $DB_HOST
8+
fi
79
php artisan migrate --force
810
php artisan setup
911

usr/local/etc/php-fpm.d/zz-fpm.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,6 @@ clear_env = no
2929

3030
; Catch output from PHP
3131
catch_workers_output = yes
32+
33+
; No Access Log
34+
access.log=/dev/null

0 commit comments

Comments
 (0)