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