Skip to content

Commit

Permalink
Merge branch 'hotfix-0.6.3' into stable
Browse files Browse the repository at this point in the history
  • Loading branch information
BertrandGouny committed Oct 26, 2015
2 parents 6e05f51 + 4b98b22 commit eaf1326
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## 0.6.3
- Upgrade baseimage: osixia/web-baseimage:0.1.3

## 0.6.2
- Better way to add custom config

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NAME = osixia/phpldapadmin
VERSION = 0.6.2
VERSION = 0.6.3

.PHONY: all build test tag_latest release

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Add -e PHPLDAPADMIN_HTTPS=false to the run command :

## Environment Variables

Environement variables defaults are set in **image/env.yaml**. You can modify environment variable values directly in this file and rebuild the image ([see manual build](#manual-build)). You can also override those values at run time with -e argument or by setting your own env.yaml file as a docker volume to `/etc/env.yaml`. See examples below.
Environement variables defaults are set in **image/env.yaml**. You can modify environment variable values directly in this file and rebuild the image ([see manual build](#manual-build)). You can also override those values at run time with -e argument or by setting your own env.yaml file as a docker volume to `/container/environment/env.yaml`. See examples below.

- **PHPLDAPADMIN_LDAP_HOSTS**: Set phpLDAPadmin server config. Defaults to :

Expand Down Expand Up @@ -125,9 +125,9 @@ Environment variable can be set directly by adding the -e argument in the comman
docker run -h phpldapadmin.example.org -e PHPLDAPADMIN_LDAP_HOSTS="ldap.example.org" \
-d osixia/phpldapadmin

Or by setting your own `env.yaml` file as a docker volume to `/etc/env.yaml`
Or by setting your own `env.yaml` file as a docker volume to `/container/environment/env.yaml`

docker run -h ldap.example.org -v /data/my-env.yaml:/etc/env.yaml \
docker run -h ldap.example.org -v /data/my-env.yaml:/container/environment/env.yaml \
-d osixia/openldap

## Manual build
Expand Down
4 changes: 2 additions & 2 deletions image/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM osixia/web-baseimage:0.1.2
FROM osixia/web-baseimage:0.1.3
MAINTAINER Bertrand Gouny <bertrand.gouny@osixia.net>

# phpLDAPadmin version
Expand Down Expand Up @@ -39,7 +39,7 @@ RUN /container/tool/install-service \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

# Add default env variables
ADD env.yaml /etc/env.yaml
ADD env.yaml /container/environment/env.yaml

# Set phpLDAPadmin data directory in a data volume
VOLUME ["/var/www/phpldapadmin"]
Expand Down

0 comments on commit eaf1326

Please sign in to comment.