From ec0737c58ad335091ca5a754d23221b19112c469 Mon Sep 17 00:00:00 2001 From: Mohit Raj Date: Sun, 3 Dec 2023 19:22:51 +0530 Subject: [PATCH] docs(config): clarify docker networking setup --- lldap_config.docker_template.toml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lldap_config.docker_template.toml b/lldap_config.docker_template.toml index 4aab092..506e10a 100644 --- a/lldap_config.docker_template.toml +++ b/lldap_config.docker_template.toml @@ -10,7 +10,9 @@ ## The host address that the LDAP server will be bound to. ## To enable IPv6 support, simply switch "ldap_host" to "::": ## To only allow connections from localhost (if you want to restrict to local self-hosted services), -## change it to "127.0.0.1" ("::1" in case of IPv6)". +## change it to "127.0.0.1" ("::1" in case of IPv6). +## If LLDAP server is running in docker, set it to "0.0.0.0" ("::" for IPv6) to allow connections +## originating from outside the container. #ldap_host = "0.0.0.0" ## The port on which to have the LDAP server. @@ -19,7 +21,9 @@ ## The host address that the HTTP server will be bound to. ## To enable IPv6 support, simply switch "http_host" to "::". ## To only allow connections from localhost (if you want to restrict to local self-hosted services), -## change it to "127.0.0.1" ("::1" in case of IPv6)". +## change it to "127.0.0.1" ("::1" in case of IPv6). +## If LLDAP server is running in docker, set it to "0.0.0.0" ("::" for IPv6) to allow connections +## originating from outside the container. #http_host = "0.0.0.0" ## The port on which to have the HTTP server, for user login and