-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'hotfix-1.2.4' into stable
- Loading branch information
Showing
4 changed files
with
16 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
|
||
[hub]: https://hub.docker.com/r/osixia/openldap-backup/ | ||
|
||
Latest release: 1.2.3 - [Changelog](CHANGELOG.md) | [Docker Hub](https://hub.docker.com/r/osixia/openldap-backup/) | ||
Latest release: 1.2.4 - [Changelog](CHANGELOG.md) | [Docker Hub](https://hub.docker.com/r/osixia/openldap-backup/) | ||
|
||
**A docker image to run OpenLDAP, and make periodic backups.** | ||
|
||
|
@@ -20,7 +20,7 @@ Latest release: 1.2.3 - [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.2.3 image](#extend-osixiaopenldap-backup123-image) | ||
- [Extend osixia/openldap-backup:1.2.4 image](#extend-osixiaopenldap-backup124-image) | ||
- [Make your own phpLDAPadmin image](#make-your-own-phpldapadmin-image) | ||
- [Tests](#tests) | ||
- [Kubernetes](#kubernetes) | ||
|
@@ -49,7 +49,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.2.3 | ||
--detach osixia/openldap-backup:1.2.4 | ||
|
||
|
||
For more information about docker data volume, please refer to : | ||
|
@@ -63,11 +63,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.2.3 --loglevel debug | ||
docker run --detach osixia/openldap-backup:1.2.4 --loglevel debug | ||
|
||
See all command line options: | ||
|
||
docker run osixia/openldap-backup:1.2.3 --help | ||
docker run osixia/openldap-backup:1.2.4 --help | ||
|
||
|
||
## Environment Variables | ||
|
@@ -89,15 +89,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.2.3 | ||
--detach osixia/openldap-backup:1.2.4 | ||
|
||
|
||
#### 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.2.3 | ||
--detach osixia/openldap-backup:1.2.4 | ||
|
||
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). | ||
|
||
|
@@ -107,13 +107,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.2.3 image | ||
### Extend osixia/openldap-backup:1.2.4 image | ||
|
||
If you need to add your custom environment files you can extends this image. | ||
|
||
Dockerfile example: | ||
|
||
FROM osixia/openldap-backup:1.2.3 | ||
FROM osixia/openldap-backup:1.2.4 | ||
MAINTAINER Your Name <[email protected]> | ||
|
||
ADD environment /container/environment/01-custom | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters