Skip to content

Commit

Permalink
Merge branch 'release/v1.6.9'
Browse files Browse the repository at this point in the history
  • Loading branch information
dlen committed Jan 14, 2018
2 parents 45bec05 + a8ee1de commit 8b218f1
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 4 deletions.
17 changes: 16 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,22 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased](https://github.com/passbolt/passbolt_docker/compare/v1.6.5+1...HEAD)
## [Unreleased](https://github.com/passbolt/passbolt_docker/compare/v1.6.9...HEAD)

## [1.6.9](https://github.com/passbolt/passbolt_docker/compare/v1.6.5+1...v1.6.9) - 2018-01-14

This release provides the last passbolt_api 1.x series release along with several pull requests
and fixes.

### Fixed

- Unable to access default installation with http [#59](https://github.com/passbolt/passbolt_docker/issues/59)
- Check and correct the permissions and ownership of /var/www/passbolt [#67](https://github.com/passbolt/passbolt_docker/issues/67)
- cp: Unrecognized option -T [#75](https://github.com/passbolt/passbolt_docker/issues/75)
- turn URL config independent from SSL var [#76](https://github.com/passbolt/passbolt_docker/pull/76)
- Set the default MySQL port to 3306 [#77](https://github.com/passbolt/passbolt_docker/pull/77)
- Add environment variable to set email client [#81](https://github.com/passbolt/passbolt_docker/pull/81)


## [1.6.5+1](https://github.com/passbolt/passbolt_docker/compare/v1.6.5...v1.6.5+1) - 2017-11-14

Expand Down
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM alpine:3.6

LABEL maintainer="[email protected]"

ENV PASSBOLT_VERSION 1.6.5
ENV PASSBOLT_VERSION 1.6.9
ENV PASSBOLT_URL https://github.com/passbolt/passbolt_api/archive/v${PASSBOLT_VERSION}.tar.gz

ARG BASE_PHP_DEPS="php5-curl \
Expand Down Expand Up @@ -38,6 +38,7 @@ ARG PHP_GNUPG_DEPS="php5-dev \

RUN apk add --no-cache $BASE_PHP_DEPS \
sed \
coreutils \
tar \
bash \
curl \
Expand Down
9 changes: 8 additions & 1 deletion bin/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,12 @@ php_fpm_setup() {
sed -i '/^include\s/ s:^:#:' /etc/php5/fpm.d/www.conf
}

check_permissions() {
chown -R nginx:nginx /var/www/passbolt
chmod -R +w /var/www/passbolt/app/tmp
chmod +w /var/www/passbolt/app/webroot/img/public
}

email_cron_job() {
local root_crontab='/etc/crontabs/root'
local cron_task_dir='/etc/periodic/1min'
Expand All @@ -184,7 +190,6 @@ email_cron_job() {
crond -f -c /etc/crontabs &
}


if [ ! -f $gpg_private_key ] && [ ! -L $gpg_private_key ] || \
[ ! -f $gpg_public_key ] && [ ! -L $gpg_public_key ]; then
gpg_gen_key
Expand Down Expand Up @@ -213,6 +218,8 @@ if [ ! -f $ssl_key ] && [ ! -L $ssl_key ] && \
gen_ssl_cert
fi

check_permissions

php_fpm_setup

install
Expand Down
1 change: 0 additions & 1 deletion conf/passbolt.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ server {
client_body_buffer_size 100K;
client_header_buffer_size 1k;
client_max_body_size 100k;
large_client_header_buffers 2 1k;

client_body_timeout 10;
client_header_timeout 10;
Expand Down

0 comments on commit 8b218f1

Please sign in to comment.