From 925cfc7a367d60a2c229420b733b6c6a320f0f48 Mon Sep 17 00:00:00 2001 From: John Anderson Date: Mon, 17 Aug 2026 18:13:38 +0100 Subject: [PATCH] Add lldap/lldap_config.docker_template.toml --- lldap/lldap_config.docker_template.toml | 174 ++++++++++++++++++++++++ 1 file changed, 174 insertions(+) create mode 100644 lldap/lldap_config.docker_template.toml diff --git a/lldap/lldap_config.docker_template.toml b/lldap/lldap_config.docker_template.toml new file mode 100644 index 0000000..4a39171 --- /dev/null +++ b/lldap/lldap_config.docker_template.toml @@ -0,0 +1,174 @@ +## Default configuration for Docker. +## All the values can be overridden through environment variables, prefixed +## with "LLDAP_". For instance, "ldap_port" can be overridden with the +## "LLDAP_LDAP_PORT" variable. + +## Tune the logging to be more verbose by setting this to be true. +## You can set it with the LLDAP_VERBOSE environment variable. +# verbose=false + +## 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). +## 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. +#ldap_port = 3890 + +## 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). +## 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 +## administration. +#http_port = 17170 + +## The public URL of the server, for password reset links. +#http_url = "http://localhost" + +## The path to the front-end assets (relative to the working directory). +#assets_path = "./app" + +## Random secret for JWT signature. +## This secret should be random, and should be shared with application +## servers that need to consume the JWTs. +## Changing this secret will invalidate all user sessions and require +## them to re-login. +## You should probably set it through the LLDAP_JWT_SECRET environment +## variable from a secret ".env" file. +## This can also be set from a file's contents by specifying the file path +## in the LLDAP_JWT_SECRET_FILE environment variable +## You can generate it with (on linux): +## LC_ALL=C tr -dc 'A-Za-z0-9!#%&'\''()*+,-./:;<=>?@[\]^_{|}~' . +#from="LLDAP Admin " +## Same for reply-to, optional. +#reply_to="Do not reply " + +## Options to configure LDAPS. +## To set these options from environment variables, use the following format +## (example with "port"): LLDAP_LDAPS_OPTIONS__PORT +[ldaps_options] +## Whether to enable LDAPS. +#enabled=true +## Port on which to listen. +#port=6360 +## Certificate file. +#cert_file="/data/cert.pem" +## Certificate key file. +#key_file="/data/key.pem" + +## Options to configure the healthcheck command. +## To set these options from environment variables, use the following format +## (example with http_host): LLDAP_HEALTHCHECK_OPTIONS__HTTP_HOST +[healthcheck_options] +## The host address that the healthcheck should verify for the HTTP server. +## If "http_host" is set to a specific IP address, this must be set to match if the built-in +## healthcheck command is used. Note: if this is an IPv6 address, it must be wrapped in []. +#http_host = "localhost" +## The host address that the healthcheck should verify for the LDAP server. +## If "ldap_host" is set to a specific IP address, this must be set to match if the built-in +## healthcheck command is used. +#ldap_host = "localhost" \ No newline at end of file