From c210f0dfcbe040725b7f022208efac6b66ff50d4 Mon Sep 17 00:00:00 2001 From: Simon Hansen Date: Thu, 8 Jul 2021 14:40:28 +0200 Subject: [PATCH 1/4] Enable http2 by default --- etc/nginx/conf.d/default.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/etc/nginx/conf.d/default.conf b/etc/nginx/conf.d/default.conf index 8b621eb..5b7712d 100644 --- a/etc/nginx/conf.d/default.conf +++ b/etc/nginx/conf.d/default.conf @@ -5,9 +5,9 @@ map $http_x_forwarded_proto $is_https { server { server_name _; - listen 8080 default_server; - listen [::]:8080 default_server; - + listen 8080 http2 default_server; + listen [::]:8080 http2 default_server; + client_max_body_size 50M; index index.php index.html; From 198622b4f395e8cccd49e01744227a336cc58611 Mon Sep 17 00:00:00 2001 From: Kevin Buchholz Date: Wed, 28 Jul 2021 14:33:55 +0200 Subject: [PATCH 2/4] Revert "Merge pull request #65 from sourceboat/http2" This reverts commit d59a69cc93355c0e6e3151f5a2867c2699ace3ad. --- etc/nginx/conf.d/default.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/etc/nginx/conf.d/default.conf b/etc/nginx/conf.d/default.conf index 5b7712d..8b621eb 100644 --- a/etc/nginx/conf.d/default.conf +++ b/etc/nginx/conf.d/default.conf @@ -5,9 +5,9 @@ map $http_x_forwarded_proto $is_https { server { server_name _; - listen 8080 http2 default_server; - listen [::]:8080 http2 default_server; - + listen 8080 default_server; + listen [::]:8080 default_server; + client_max_body_size 50M; index index.php index.html; From eedfd3a09f9c4180fcace166157aa2b285ef54e7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 30 Jul 2021 10:03:30 +0000 Subject: [PATCH 3/4] Bump php from 8.0.8-fpm-alpine to 8.0.9-fpm-alpine Bumps php from 8.0.8-fpm-alpine to 8.0.9-fpm-alpine. --- updated-dependencies: - dependency-name: php dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 92a54c8..3eb0f30 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM php:8.0.8-fpm-alpine +FROM php:8.0.9-fpm-alpine ENV PHP_OPCACHE_VALIDATE_TIMESTAMPS="0" \ PHP_OPCACHE_MAX_ACCELERATED_FILES="10000" \ From e1594a441b672e423e610b4a1cc114769b2fc956 Mon Sep 17 00:00:00 2001 From: Kevin Buchholz Date: Tue, 10 Aug 2021 10:10:28 +0200 Subject: [PATCH 4/4] update readme --- README.md | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 30c04c2..396c91a 100644 --- a/README.md +++ b/README.md @@ -1,21 +1,21 @@ -# docker-laravel `WIP` +# `docker-laravel` -[![Docker Build Status](https://img.shields.io/docker/cloud/build/sourceboat/docker-laravel.svg?style=flat-square)](https://hub.docker.com/r/sourceboat/docker-laravel/builds/) [![Release](https://img.shields.io/github/release/sourceboat/docker-laravel.svg?style=flat-square)](https://github.com/sourceboat/docker-laravel/releases) [![Docker Pulls](https://img.shields.io/docker/pulls/sourceboat/docker-laravel.svg?style=flat-square)](https://hub.docker.com/r/sourceboat/docker-laravel/) [![Image Size](https://img.shields.io/docker/image-size/sourceboat/docker-laravel?style=flat-square)](https://microbadger.com/images/sourceboat/docker-laravel) -[![MicroBadger Layers](https://img.shields.io/microbadger/layers/sourceboat/docker-laravel.svg?style=flat-square)](https://microbadger.com/images/sourceboat/docker-laravel) A highly opinionated docker image which aims to be perfectly suited to run our Laravel applications. ## What's included? -`WIP` +This Image includes some features to ease the work with Laravel in Docker: +- Tooling and extensions needed for Laravel applications +- Dependency management: Composer, Npm and Yarn +- Datastores: MariaDB, MySQL, Redis +- [Startup commands](#startup-commands) ## Usage -### Development - Create a `Dockerfile` with the following contents (and adjust version tag): ```dockerfile @@ -105,10 +105,6 @@ services: - "MYSQL_DATABASE=default" ``` -### Production - -`WIP` - ## Changelog Check [releases](https://github.com/sourceboat/docker-laravel/releases) for all notable changes.