Improve formatting

Signed-off-by: Martin Heide <martin.heide@faro.com>
This commit is contained in:
Martin Heide 2020-07-15 09:43:28 +00:00
parent 705cf8bb6a
commit 521954a3b9

View file

@ -4,13 +4,12 @@ services:
ldap: ldap:
image: osixia/openldap:1.4.0 image: osixia/openldap:1.4.0
# Copying is required because the entrypoint modifies the *.ldif files. # Copying is required because the entrypoint modifies the *.ldif files.
# For verbose output, use: # For verbose output, use: command: ["--copy-service", "--loglevel", "debug"]
#command: ["--copy-service", "--loglevel", "debug"]
command: ["--copy-service"] command: ["--copy-service"]
volumes:
# https://github.com/osixia/docker-openldap#seed-ldap-database-with-ldif # https://github.com/osixia/docker-openldap#seed-ldap-database-with-ldif
# Option 1: Add additional seed file by mounting to /container/service/slapd/assets/config/bootstrap/ldif/custom/ # Option 1: Add custom seed file -> mount to /container/service/slapd/assets/config/bootstrap/ldif/custom/
# Option 2: Overwrite default seed file by mounting to /container/service/slapd/assets/config/bootstrap/ldif/ # Option 2: Overwrite default seed file -> mount to /container/service/slapd/assets/config/bootstrap/ldif/
volumes:
- ./config-ldap.ldif:/container/service/slapd/assets/config/bootstrap/ldif/custom/config-ldap.ldif - ./config-ldap.ldif:/container/service/slapd/assets/config/bootstrap/ldif/custom/config-ldap.ldif
ports: ports:
- 389:389 - 389:389