Skip to content

Commit 1ef35a4

Browse files
committed
Merge branch 'seatek-stable' into hotfix-1.1.3
2 parents 5fa33d1 + fb9591e commit 1ef35a4

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
/.twgit_features_subject
2-
/.twgit
1+
/.*
2+
!/.git*

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@ By default the admin has the password **admin**. All those default settings can
9595

9696
#### Data persistence
9797

98-
The directories `/var/lib/ldap` (LDAP database files) and `/etc/ldap/slapd.d` (LDAP config files) has been declared as volumes, so your ldap files are saved outside the container in data volumes.
98+
The directories `/var/lib/ldap` (LDAP database files) and `/etc/ldap/slapd.d` (LDAP config files) are used to persist the schema and data information, and should be mapped as volumes, so your ldap files are saved outside the container (see [Use an existing ldap database](#use-an-existing-ldap-database)). However it can be useful to not use volumes,
99+
in case the image should be delivered complete with test data - this is especially useful when deriving other images from this one.
99100

100101
For more information about docker data volume, please refer to:
101102

image/Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,5 @@ RUN /container/tool/install-service
2828
# Add default env variables
2929
ADD environment /container/environment/99-default
3030

31-
# Set OpenLDAP data and config directories in a data volume
32-
VOLUME ["/var/lib/ldap", "/etc/ldap/slapd.d"]
33-
3431
# Expose default ldap and ldaps ports
3532
EXPOSE 389 636

0 commit comments

Comments
 (0)