You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- [Make your own openldap-backup image](#make-your-own-openldap-backup-image)
26
26
- [Tests](#tests)
27
27
- [Kubernetes](#kubernetes)
@@ -50,7 +50,7 @@ Backups are created in the directory `/data/backup` that should be mapped has vo
50
50
51
51
docker run --env LDAP_BACKUP_CONFIG_CRON_EXP="0 5 * * *" \
52
52
--volume /data/openldap/backup:/data/backup \
53
-
--detach osixia/openldap-backup:1.3.0
53
+
--detach osixia/openldap-backup:1.4.0
54
54
55
55
56
56
For more information about docker data volume, please refer to :
@@ -64,11 +64,11 @@ Available levels are: `none`, `error`, `warning`, `info`, `debug` and `trace`.
64
64
65
65
Example command to run the container in `debug` mode:
66
66
67
-
docker run --detach osixia/openldap-backup:1.3.0 --loglevel debug
67
+
docker run --detach osixia/openldap-backup:1.4.0 --loglevel debug
68
68
69
69
See all command line options:
70
70
71
-
docker run osixia/openldap-backup:1.3.0 --help
71
+
docker run osixia/openldap-backup:1.4.0 --help
72
72
73
73
74
74
## Environment Variables
@@ -90,15 +90,15 @@ See how to [set your own environment variables](#set-your-own-environment-variab
90
90
Environment variables can be set by adding the --env argument in the command line, for example:
91
91
92
92
docker run --env LDAP_BACKUP_CONFIG_CRON_EXP="0 5 * * *" \
93
-
--detach osixia/openldap-backup:1.3.0
93
+
--detach osixia/openldap-backup:1.4.0
94
94
95
95
96
96
#### Link environment file
97
97
98
98
For example if your environment file is in : /data/ldap/environment/my-env.yaml
99
99
100
100
docker run --volume /data/ldap/environment/my-env.yaml:/container/environment/01-custom/env.yaml \
101
-
--detach osixia/openldap-backup:1.3.0
101
+
--detach osixia/openldap-backup:1.4.0
102
102
103
103
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).
104
104
@@ -108,13 +108,13 @@ This is the best solution if you have a private registry. Please refer to the [A
108
108
109
109
## Advanced User Guide
110
110
111
-
### Extend osixia/openldap-backup:1.3.0 image
111
+
### Extend osixia/openldap-backup:1.4.0 image
112
112
113
113
If you need to add your custom environment files you can extends this image.
0 commit comments