commit
75524cfe2e
|
|
@ -2,7 +2,13 @@
|
||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
This project adheres to [Semantic Versioning](http://semver.org/).
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
||||||
|
|
||||||
## [Unreleased](https://github.com/passbolt/passbolt_docker/compare/v2.0.7...HEAD)
|
## [Unreleased](https://github.com/passbolt/passbolt_docker/compare/v2.1.0...HEAD)
|
||||||
|
|
||||||
|
## [2.1.0](https://github.com/passbolt/passbolt_docker/compare/v2.0.7...v2.1.0) - 2018-06-14
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- cron EmailQueue.sender job fails if db password contains certain characters [#105](https://github.com/passbolt/passbolt_docker/issues/105)
|
||||||
|
|
||||||
## [2.0.7](https://github.com/passbolt/passbolt_docker/compare/v2.0.5...v2.0.7) - 2018-05-09
|
## [2.0.7](https://github.com/passbolt/passbolt_docker/compare/v2.0.5...v2.0.7) - 2018-05-09
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ FROM php:7-fpm
|
||||||
|
|
||||||
LABEL maintainer="diego@passbolt.com"
|
LABEL maintainer="diego@passbolt.com"
|
||||||
|
|
||||||
ARG PASSBOLT_VERSION="2.0.7"
|
ARG PASSBOLT_VERSION="2.1.0"
|
||||||
ARG PASSBOLT_URL="https://github.com/passbolt/passbolt_api/archive/v${PASSBOLT_VERSION}.tar.gz"
|
ARG PASSBOLT_URL="https://github.com/passbolt/passbolt_api/archive/v${PASSBOLT_VERSION}.tar.gz"
|
||||||
|
|
||||||
ARG PHP_EXTENSIONS="gd \
|
ARG PHP_EXTENSIONS="gd \
|
||||||
|
|
|
||||||
|
|
@ -63,7 +63,7 @@ install() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$tables" -eq 0 ]; then
|
if [ "$tables" -eq 0 ]; then
|
||||||
su -c '/var/www/passbolt/bin/cake passbolt install --no-admin --force' -s /bin/bash www-data
|
su -c '/var/www/passbolt/bin/cake passbolt install --no-admin' -s /bin/bash www-data
|
||||||
else
|
else
|
||||||
su -c '/var/www/passbolt/bin/cake passbolt migrate' -s /bin/bash www-data
|
su -c '/var/www/passbolt/bin/cake passbolt migrate' -s /bin/bash www-data
|
||||||
echo "Enjoy! ☮"
|
echo "Enjoy! ☮"
|
||||||
|
|
@ -71,9 +71,8 @@ install() {
|
||||||
}
|
}
|
||||||
|
|
||||||
email_cron_job() {
|
email_cron_job() {
|
||||||
printenv > /etc/environment
|
|
||||||
sed -i 's/=\(.*\)/="\1"/g' /etc/environment
|
|
||||||
cron_task='/etc/cron.d/passbolt_email'
|
cron_task='/etc/cron.d/passbolt_email'
|
||||||
|
declare -p | grep -Ev 'BASHOPTS|BASH_VERSINFO|EUID|PPID|SHELLOPTS|UID' > /etc/environment
|
||||||
if [ ! -f "$cron_task" ]; then
|
if [ ! -f "$cron_task" ]; then
|
||||||
echo "* * * * * su -c \"source /etc/environment ; /var/www/passbolt/bin/cake EmailQueue.sender\" -s /bin/bash www-data >> /var/log/cron.log 2>&1" >> $cron_task
|
echo "* * * * * su -c \"source /etc/environment ; /var/www/passbolt/bin/cake EmailQueue.sender\" -s /bin/bash www-data >> /var/log/cron.log 2>&1" >> $cron_task
|
||||||
crontab /etc/cron.d/passbolt_email
|
crontab /etc/cron.d/passbolt_email
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ services:
|
||||||
- 3306
|
- 3306
|
||||||
|
|
||||||
passbolt:
|
passbolt:
|
||||||
image: passbolt/passbolt:2.0.7-pro-debian
|
image: passbolt/passbolt:2.1.1-pro-debian
|
||||||
tty: true
|
tty: true
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ services:
|
||||||
- 3306
|
- 3306
|
||||||
|
|
||||||
passbolt:
|
passbolt:
|
||||||
image: passbolt/passbolt:2.0.7-debian
|
image: passbolt/passbolt:2.1.0-debian
|
||||||
tty: true
|
tty: true
|
||||||
depends_on:
|
depends_on:
|
||||||
- db
|
- db
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ describe 'passbolt_api service' do
|
||||||
'MYSQL_ROOT_PASSWORD=test',
|
'MYSQL_ROOT_PASSWORD=test',
|
||||||
'MYSQL_DATABASE=passbolt',
|
'MYSQL_DATABASE=passbolt',
|
||||||
'MYSQL_USER=passbolt',
|
'MYSQL_USER=passbolt',
|
||||||
'MYSQL_PASSWORD=P4ssb0lt'
|
'MYSQL_PASSWORD=±!@#$%^&*()_+=-}{|:;<>?'
|
||||||
],
|
],
|
||||||
"Healthcheck" => {
|
"Healthcheck" => {
|
||||||
"Test": [
|
"Test": [
|
||||||
|
|
@ -28,7 +28,7 @@ describe 'passbolt_api service' do
|
||||||
@container = Docker::Container.create(
|
@container = Docker::Container.create(
|
||||||
'Env' => [
|
'Env' => [
|
||||||
"DATASOURCES_DEFAULT_HOST=#{@mysql.json['NetworkSettings']['IPAddress']}",
|
"DATASOURCES_DEFAULT_HOST=#{@mysql.json['NetworkSettings']['IPAddress']}",
|
||||||
'DATASOURCES_DEFAULT_PASSWORD=P4ssb0lt',
|
'DATASOURCES_DEFAULT_PASSWORD=±!@#$%^&*()_+=-}{|:;<>?',
|
||||||
'DATASOURCES_DEFAULT_USERNAME=passbolt',
|
'DATASOURCES_DEFAULT_USERNAME=passbolt',
|
||||||
'DATASOURCES_DEFAULT_DATABASE=passbolt',
|
'DATASOURCES_DEFAULT_DATABASE=passbolt',
|
||||||
'PASSBOLT_SSL_FORCE=true'
|
'PASSBOLT_SSL_FORCE=true'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue