Skip to content

Commit

Permalink
Merge branch 'release-1.1.10' into stable
Browse files Browse the repository at this point in the history
  • Loading branch information
BertrandGouny committed Dec 12, 2017
2 parents 42d623c + 527c156 commit f46e518
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 11 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## 1.1.10
- Upgrade baseimage: openldap:1.1.10

## 1.1.9
- Upgrade baseimage: openldap:1.1.9

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/openldap-backup
VERSION = 1.1.9
VERSION = 1.1.10

.PHONY: build build-nocache test tag-latest push push-latest release git-tag-version

Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

[hub]: https://hub.docker.com/r/osixia/openldap-backup/

Latest release: 1.1.9 - [Changelog](CHANGELOG.md) | [Docker Hub](https://hub.docker.com/r/osixia/openldap-backup/) 
Latest release: 1.1.10 - [Changelog](CHANGELOG.md) | [Docker Hub](https://hub.docker.com/r/osixia/openldap-backup/) 

**A docker image to run OpenLDAP, and make periodic backups.**

Expand All @@ -19,7 +19,7 @@ Latest release: 1.1.9 - [Changelog](CHANGELOG.md) | [Docker Hub](https://hub.do
- [Link environment file](#link-environment-file)
- [Make your own image or extend this image](#make-your-own image-or-extend-this-image)
- [Advanced User Guide](#advanced-user-guide)
- [Extend osixia/openldap-backup:1.1.9 image](#extend-osixiaopenldap-backup119-image)
- [Extend osixia/openldap-backup:1.1.10 image](#extend-osixiaopenldap-backup1110-image)
- [Make your own phpLDAPadmin image](#make-your-own-phpldapadmin-image)
- [Tests](#tests)
- [Kubernetes](#kubernetes)
Expand All @@ -39,7 +39,7 @@ Backups are created in the directory `/data/backup` that should be mapped has vo

docker run --env LDAP_BACKUP_CONFIG_CRON_EXP="0 5 * * *" \
--volume /data/openldap/backup:/data/backup \
--detach osixia/openldap-backup:1.1.9
--detach osixia/openldap-backup:1.1.10


For more information about docker data volume, please refer to :
Expand All @@ -53,11 +53,11 @@ Available levels are: `none`, `error`, `warning`, `info`, `debug` and `trace`.

Example command to run the container in `debug` mode:

docker run --detach osixia/openldap-backup:1.1.9 --loglevel debug
docker run --detach osixia/openldap-backup:1.1.10 --loglevel debug

See all command line options:

docker run osixia/openldap-backup:1.1.9 --help
docker run osixia/openldap-backup:1.1.10 --help


## Environment Variables
Expand All @@ -79,15 +79,15 @@ See how to [set your own environment variables](#set-your-own-environment-variab
Environment variables can be set by adding the --env argument in the command line, for example:

docker run --env LDAP_BACKUP_CONFIG_CRON_EXP="0 5 * * *" \
--detach osixia/openldap-backup:1.1.9
--detach osixia/openldap-backup:1.1.10


#### Link environment file

For example if your environment file is in : /data/ldap/environment/my-env.yaml

docker run --volume /data/ldap/environment/my-env.yaml:/container/environment/01-custom/env.yaml \
--detach osixia/openldap-backup:1.1.9
--detach osixia/openldap-backup:1.1.10

Take care to link your environment file to `/container/environment/XX-somedir` (with XX < 99 so they will be processed before default environment files) and not directly to `/container/environment` because this directory contains predefined baseimage environment files to fix container environment (INITRD, LANG, LANGUAGE and LC_CTYPE).

Expand All @@ -97,13 +97,13 @@ This is the best solution if you have a private registry. Please refer to the [A

## Advanced User Guide

### Extend osixia/openldap-backup:1.1.9 image
### Extend osixia/openldap-backup:1.1.10 image

If you need to add your custom environment files you can extends this image.

Dockerfile example:

FROM osixia/openldap-backup:1.1.9
FROM osixia/openldap-backup:1.1.10
MAINTAINER Your Name <[email protected]>

ADD environment /container/environment/01-custom
Expand Down
2 changes: 1 addition & 1 deletion image/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM osixia/openldap:1.1.9
FROM osixia/openldap:1.1.10
MAINTAINER Bertrand Gouny <[email protected]>

# Install cron from baseimage and remove .cfss and slapd services inherited from openldap image
Expand Down

0 comments on commit f46e518

Please sign in to comment.