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
Copy file name to clipboardExpand all lines: README.md
+14-6Lines changed: 14 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -107,20 +107,28 @@ Do not edit slapd.conf it's not used. To modify your server configuration use ld
107
107
#### Seed ldap database with ldif
108
108
109
109
This image can load ldif files at startup with either `ldapadd` or `ldapmodify`.
110
-
Mount `.ldif` in `/container/service/slapd/assets/config/bootstrap/ldif/`
111
-
directory. Files containing `changeType:` attributes will be loaded with `ldapmodify`.
110
+
Mount `.ldif` in `/container/service/slapd/assets/config/bootstrap/ldif` directory if you want to overwrite image default boostrap ldif files or in `/container/service/slapd/assets/config/bootstrap/ldif/custom` (recommended) to extend image config.
112
111
113
-
The startup script provide some substitution in bootstrap ldif files: `{{
114
-
LDAP_BASE_DN }}` and `{{ LDAP_BACKEND }}` values are supported. Other `{{ * }}`
112
+
Files containing `changeType:` attributes will be loaded with `ldapmodify`.
113
+
114
+
The startup script provide some substitution in bootstrap ldif files:
115
+
`{{LDAP_BASE_DN }}` and `{{ LDAP_BACKEND }}` values are supported. Other `{{ * }}`
115
116
substitution are left as is.
116
117
117
118
Since startup script modifies `ldif` files, you **must** add `--copy-service`
118
-
argument to entrypoint.
119
+
argument to entrypoint if you don't want to overwrite them.
0 commit comments