From af115de27b109aabdc1c262793084cdbdf3e3655 Mon Sep 17 00:00:00 2001 From: Alvin Rizki Date: Sat, 26 Jan 2019 14:40:28 +0700 Subject: [PATCH 1/4] add changelog.md --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..dac8b70 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,7 @@ +# Changelog + +**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 From b3f625c535e34bbcbdb0ebb68d45c686a213c66a Mon Sep 17 00:00:00 2001 From: Alvin Rizki Date: Sat, 26 Jan 2019 14:47:02 +0700 Subject: [PATCH 2/4] update readme.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) 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 ------------ From 8f8dd4104feceee6839fb65f674362946658c48b Mon Sep 17 00:00:00 2001 From: Alvin Rizki Date: Sat, 26 Jan 2019 16:50:28 +0700 Subject: [PATCH 3/4] apache enable authorization header --- Build/Dockerfile | 3 +++ docker-compose.yml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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/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 From fadd9ef4745710800e919fc159d3c2a9334c227f Mon Sep 17 00:00:00 2001 From: Alvin Rizki Date: Sat, 26 Jan 2019 17:08:19 +0700 Subject: [PATCH 4/4] update changelog.md --- CHANGELOG.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dac8b70..0a89091 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +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 +* 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