diff --git a/CHANGELOG.md b/CHANGELOG.md index 10c322b..bc89f0a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ PHP Docker Boilerplate Changelog ================================== +5.1.1 - 2016-05-24 +------------------ +- Fixed Docker image names in Dockerfile.development +- Updated nginx and apache vhost configuration + 5.1.0 - 2016-05-23 ------------------ - Add support for new WebDevOps Docker images 0.5.0 and up diff --git a/Dockerfile.cloud b/Dockerfile.cloud index 78291b9..d036d88 100644 --- a/Dockerfile.cloud +++ b/Dockerfile.cloud @@ -7,11 +7,11 @@ # ubuntu-14.04 -> PHP 5.5 (trusty) LTS # ubuntu-15.04 -> PHP 5.6 (vivid) # ubuntu-15.10 -> PHP 5.6 (wily) -# ubuntu-16.04 -> PHP 5.6 and 7.0 (xenial) LTS +# ubuntu-16.04 -> PHP 7.0 (xenial) LTS # centos-7 -> PHP 5.4 # debian-7 -> PHP 5.4 (wheezy) # debian-8 -> PHP 5.6 and 7.x (jessie) -# debian-9 -> PHP 5.6 and 7.0 (stretch) +# debian-9 -> PHP 7.0 (stretch) # # Apache: # webdevops/php-apache:ubuntu-12.04 @@ -19,13 +19,11 @@ # webdevops/php-apache:ubuntu-15.04 # webdevops/php-apache:ubuntu-15.10 # webdevops/php-apache:ubuntu-16.04 -# webdevops/php-apache:ubuntu-16.04-php7 # webdevops/php-apache:centos-7 # webdevops/php-apache:debian-7 # webdevops/php-apache:debian-8 # webdevops/php-apache:debian-8-php7 # webdevops/php-apache:debian-9 -# webdevops/php-apache:debian-9-php7 # # Nginx: # webdevops/php-nginx:ubuntu-12.04 @@ -33,13 +31,11 @@ # webdevops/php-nginx:ubuntu-15.04 # webdevops/php-nginx:ubuntu-15.10 # webdevops/php-nginx:ubuntu-16.04 -# webdevops/php-nginx:ubuntu-16.04-php7 # webdevops/php-nginx:centos-7 # webdevops/php-nginx:debian-7 # webdevops/php-nginx:debian-8 # webdevops/php-nginx:debian-8-php7 # webdevops/php-nginx:debian-9 -# webdevops/php-nginx:debian-9-php7 # # HHVM: # webdevops/hhvm-apache diff --git a/Dockerfile.development b/Dockerfile.development index fe6454f..0cc55e8 100644 --- a/Dockerfile.development +++ b/Dockerfile.development @@ -7,11 +7,11 @@ # ubuntu-14.04 -> PHP 5.5 (trusty) LTS # ubuntu-15.04 -> PHP 5.6 (vivid) # ubuntu-15.10 -> PHP 5.6 (wily) -# ubuntu-16.04 -> PHP 5.6 and 7.0 (xenial) LTS +# ubuntu-16.04 -> PHP 7.0 (xenial) LTS # centos-7 -> PHP 5.4 # debian-7 -> PHP 5.4 (wheezy) # debian-8 -> PHP 5.6 and 7.x (jessie) -# debian-9 -> PHP 5.6 and 7.0 (stretch) +# debian-9 -> PHP 7.0 (stretch) # # Apache: # webdevops/php-apache-dev:ubuntu-12.04 @@ -19,13 +19,11 @@ # webdevops/php-apache-dev:ubuntu-15.04 # webdevops/php-apache-dev:ubuntu-15.10 # webdevops/php-apache-dev:ubuntu-16.04 -# webdevops/php-apache-dev:ubuntu-16.04-php7 # webdevops/php-apache-dev:centos-7 # webdevops/php-apache-dev:debian-7 # webdevops/php-apache-dev:debian-8 # webdevops/php-apache-dev:debian-8-php7 # webdevops/php-apache-dev:debian-9 -# webdevops/php-apache-dev:debian-9-php7 # # Nginx: # webdevops/php-nginx-dev-dev:ubuntu-12.04 @@ -33,13 +31,11 @@ # webdevops/php-nginx-dev-dev:ubuntu-15.04 # webdevops/php-nginx-dev-dev:ubuntu-15.10 # webdevops/php-nginx-dev-dev:ubuntu-16.04 -# webdevops/php-nginx-dev-dev:ubuntu-16.04-php7 # webdevops/php-nginx-dev-dev:centos-7 # webdevops/php-nginx-dev-dev:debian-7 # webdevops/php-nginx-dev-dev:debian-8 # webdevops/php-nginx-dev-dev:debian-8-php7 # webdevops/php-nginx-dev-dev:debian-9 -# webdevops/php-nginx-dev-dev:debian-9-php7 # # HHVM: # webdevops/hhvm-apache diff --git a/Dockerfile.production b/Dockerfile.production index 00af3a3..271bd3b 100644 --- a/Dockerfile.production +++ b/Dockerfile.production @@ -7,11 +7,11 @@ # ubuntu-14.04 -> PHP 5.5 (trusty) LTS # ubuntu-15.04 -> PHP 5.6 (vivid) # ubuntu-15.10 -> PHP 5.6 (wily) -# ubuntu-16.04 -> PHP 5.6 and 7.0 (xenial) LTS +# ubuntu-16.04 -> PHP 7.0 (xenial) LTS # centos-7 -> PHP 5.4 # debian-7 -> PHP 5.4 (wheezy) # debian-8 -> PHP 5.6 and 7.x (jessie) -# debian-9 -> PHP 5.6 and 7.0 (stretch) +# debian-9 -> PHP 7.0 (stretch) # # Apache: # webdevops/php-apache:ubuntu-12.04 @@ -19,13 +19,11 @@ # webdevops/php-apache:ubuntu-15.04 # webdevops/php-apache:ubuntu-15.10 # webdevops/php-apache:ubuntu-16.04 -# webdevops/php-apache:ubuntu-16.04-php7 # webdevops/php-apache:centos-7 # webdevops/php-apache:debian-7 # webdevops/php-apache:debian-8 # webdevops/php-apache:debian-8-php7 # webdevops/php-apache:debian-9 -# webdevops/php-apache:debian-9-php7 # # Nginx: # webdevops/php-nginx:ubuntu-12.04 @@ -33,13 +31,11 @@ # webdevops/php-nginx:ubuntu-15.04 # webdevops/php-nginx:ubuntu-15.10 # webdevops/php-nginx:ubuntu-16.04 -# webdevops/php-nginx:ubuntu-16.04-php7 # webdevops/php-nginx:centos-7 # webdevops/php-nginx:debian-7 # webdevops/php-nginx:debian-8 # webdevops/php-nginx:debian-8-php7 # webdevops/php-nginx:debian-9 -# webdevops/php-nginx:debian-9-php7 # # HHVM: # webdevops/hhvm-apache diff --git a/README.md b/README.md index 3b55c89..6c60673 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Dockerized TYPO3 project boilerplate -[![latest v5.1.0](https://img.shields.io/badge/latest-v5.1.0-green.svg?style=flat)](https://github.com/webdevops/TYPO3-docker-boilerplate/releases/tag/5.1.0) +[![latest v5.1.1](https://img.shields.io/badge/latest-v5.1.1-green.svg?style=flat)](https://github.com/webdevops/TYPO3-docker-boilerplate/releases/tag/5.1.1) ![License MIT](https://img.shields.io/badge/license-MIT-blue.svg?style=flat) [![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/webdevops/typo3-docker-boilerplate.svg)](http://isitmaintained.com/project/webdevops/typo3-docker-boilerplate "Average time to resolve an issue") [![Percentage of issues still open](http://isitmaintained.com/badge/open/webdevops/typo3-docker-boilerplate.svg)](http://isitmaintained.com/project/webdevops/typo3-docker-boilerplate "Percentage of issues still open") diff --git a/provision/roles/boilerplate-main/templates/apache/vhost.conf.j2 b/provision/roles/boilerplate-main/templates/apache/vhost.conf.j2 index 28346a8..d925d87 100644 --- a/provision/roles/boilerplate-main/templates/apache/vhost.conf.j2 +++ b/provision/roles/boilerplate-main/templates/apache/vhost.conf.j2 @@ -12,7 +12,12 @@ UseCanonicalName Off - Include /opt/docker/etc/httpd/vhost.common.conf + + Include /opt/docker/etc/httpd/vhost.common.d/*.conf + + = 2.4> + IncludeOptional /opt/docker/etc/httpd/vhost.common.d/*.conf + @@ -21,7 +26,14 @@ DocumentRoot "{{ vhost.documentRoot|default('') }}" UseCanonicalName Off - Include /opt/docker/etc/httpd/vhost.common.conf + + + Include /opt/docker/etc/httpd/vhost.common.d/*.conf + + = 2.4> + IncludeOptional /opt/docker/etc/httpd/vhost.common.d/*.conf + + Include /opt/docker/etc/httpd/vhost.ssl.conf diff --git a/provision/roles/boilerplate-main/templates/nginx/vhost.conf.j2 b/provision/roles/boilerplate-main/templates/nginx/vhost.conf.j2 index e2bbdb5..e2fa150 100644 --- a/provision/roles/boilerplate-main/templates/nginx/vhost.conf.j2 +++ b/provision/roles/boilerplate-main/templates/nginx/vhost.conf.j2 @@ -30,7 +30,7 @@ server { fastcgi_read_timeout 1000; } - include /opt/docker/etc/nginx/vhost.common.conf; + include /opt/docker/etc/nginx/vhost.common.d/*.conf; } ############## @@ -62,7 +62,7 @@ server { fastcgi_read_timeout 1000; } - include /opt/docker/etc/nginx/vhost.common.conf; + include /opt/docker/etc/nginx/vhost.common.d/*.conf; include /opt/docker/etc/nginx/vhost.ssl.conf; }