Skip to content

Commit ccfd50b

Browse files
committed
Merge branch 'release/0.9.0'
2 parents 0e2824e + ee2a34e commit ccfd50b

File tree

5 files changed

+11
-4
lines changed

5 files changed

+11
-4
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM php:7.4.4-fpm-alpine3.11
1+
FROM php:7.4.5-fpm-alpine3.11
22

33
ENV PHP_OPCACHE_VALIDATE_TIMESTAMPS="0" \
44
PHP_OPCACHE_MAX_ACCELERATED_FILES="10000" \

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
@@ -17,7 +17,9 @@ composer install --prefer-dist --no-progress --no-interaction
1717
yarn
1818

1919
# migrate and setup database
20-
wait-for-it.sh mysql:3306
20+
if [ -z "$DB_HOST" ]; then
21+
wait-for-it.sh $DB_HOST
22+
fi
2123
php artisan migrate --force
2224
php artisan setup
2325

home/app/run-prod.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ chown www-data:www-data -R /opt/app/storage
1010
chown www-data:www-data -R /opt/app/bootstrap/cache
1111

1212
# migrate and setup database
13-
wait-for-it.sh mysql:3306
13+
if [ -z "$DB_HOST" ]; then
14+
wait-for-it.sh $DB_HOST
15+
fi
1416
php artisan migrate --force
1517
php artisan setup
1618

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)