diff --git a/Build/Dockerfile b/Build/Dockerfile index c58de77..d2c3375 100644 --- a/Build/Dockerfile +++ b/Build/Dockerfile @@ -95,6 +95,9 @@ RUN docker-php-ext-enable mongo intl imagick rdkafka mongodb memcache ps apcu # Use the default production configuration RUN cp "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini" +# Enable Authorization header in apache +RUN echo "SetEnvIf Authorization \"(.*)\" HTTP_AUTHORIZATION=\$1" >> /etc/apache2/apache2.conf + # Enable apache2 modules RUN a2enmod rewrite diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..0a89091 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,11 @@ +# Changelog + +**Version 5.6.1** + +* Enable authorization header in a REST request. + +**Version 5.6** + +* Use **php:5.6.39-apache-jessie** base image. +* Add datadog APM tracer (beta 0.8.1). +* Add **rdkafka** dependency. \ No newline at end of file diff --git a/README.md b/README.md index ad778c0..717f1b1 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,7 @@ Dockerized LAMPP stack based on these components: Table of contents ----------------- +* [Changelog](#changelog) * [Requirements](#requirements) * [Building Docker Image](#building-docker-image) * [Using Docker Compose](#using-docker-compose) @@ -21,6 +22,11 @@ Table of contents * [Custom LAMPP Configuration](#custom-lampp-configuration) * [Expose Port](#expose-port) +Changelog +--------- + +Open this [CHANGELOG.md](https://github.com/cikupin/docker-lampp/blob/master/CHANGELOG.md) file to see version changelog. + Requirements ------------ diff --git a/docker-compose.yml b/docker-compose.yml index a65e5ce..35ed3c6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,7 @@ version: '2' services: php-apache2: - image: cikupin/php-apache2:5.6 + image: cikupin/php-apache2:5.6-1 container_name: php-apache2-5.6 volumes: - ./etc/apache2/sites-available/000-default.conf:/etc/apache2/sites-available/000-default.conf