Skip to content

Commit

Permalink
Merge branch 'release/0.9.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
pehbehbeh committed Apr 22, 2020
2 parents 0e2824e + ee2a34e commit ccfd50b
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:7.4.4-fpm-alpine3.11
FROM php:7.4.5-fpm-alpine3.11

ENV PHP_OPCACHE_VALIDATE_TIMESTAMPS="0" \
PHP_OPCACHE_MAX_ACCELERATED_FILES="10000" \
Expand Down
2 changes: 1 addition & 1 deletion etc/nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ http {
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';

access_log /dev/stdout main;
access_log /dev/null main;

sendfile on;

Expand Down
4 changes: 3 additions & 1 deletion home/app/run-dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ composer install --prefer-dist --no-progress --no-interaction
yarn

# migrate and setup database
wait-for-it.sh mysql:3306
if [ -z "$DB_HOST" ]; then
wait-for-it.sh $DB_HOST
fi
php artisan migrate --force
php artisan setup

Expand Down
4 changes: 3 additions & 1 deletion home/app/run-prod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ chown www-data:www-data -R /opt/app/storage
chown www-data:www-data -R /opt/app/bootstrap/cache

# migrate and setup database
wait-for-it.sh mysql:3306
if [ -z "$DB_HOST" ]; then
wait-for-it.sh $DB_HOST
fi
php artisan migrate --force
php artisan setup

Expand Down
3 changes: 3 additions & 0 deletions usr/local/etc/php-fpm.d/zz-fpm.conf
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,6 @@ clear_env = no

; Catch output from PHP
catch_workers_output = yes

; No Access Log
access.log=/dev/null

0 comments on commit ccfd50b

Please sign in to comment.