Prechádzať zdrojové kódy

Merge branch 'seatek-stable' into hotfix-1.1.3

Bertrand Gouny 9 rokov pred
rodič
commit
1ef35a4219
3 zmenil súbory, kde vykonal 4 pridanie a 6 odobranie
  1. 2 2
      .gitignore
  2. 2 1
      README.md
  3. 0 3
      image/Dockerfile

+ 2 - 2
.gitignore

@@ -1,2 +1,2 @@
-/.twgit_features_subject
-/.twgit
+/.*
+!/.git*

+ 2 - 1
README.md

@@ -95,7 +95,8 @@ By default the admin has the password **admin**. All those default settings can
 
 #### Data persistence
 
-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.
+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,
+in case the image should be delivered complete with test data - this is especially useful when deriving other images from this one.
 
 For more information about docker data volume, please refer to:
 

+ 0 - 3
image/Dockerfile

@@ -28,8 +28,5 @@ RUN /container/tool/install-service
 # Add default env variables
 ADD environment /container/environment/99-default
 
-# Set OpenLDAP data and config directories in a data volume
-VOLUME ["/var/lib/ldap", "/etc/ldap/slapd.d"]
-
 # Expose default ldap and ldaps ports
 EXPOSE 389 636