Bind ldap-ports to localhost only for security reasons

This commit is contained in:
Ilja Neumann
2020-12-18 10:34:56 +01:00
parent 5ea1e97032
commit a08a0afcfd

View File

@@ -119,8 +119,8 @@ services:
LDAP_RFC2307BIS_SCHEMA: "true"
LDAP_REMOVE_CONFIG_AFTER_SETUP: "false"
ports:
- "389:389"
- "636:636"
- "127.0.0.1:389:389"
- "127.0.0.1:636:636"
volumes:
- ./config/ldap/ldif:/container/service/slapd/assets/config/bootstrap/ldif/custom
restart: always