[GH-ISSUE #1235] [BUG] LLDAP_HTTP_URL setting in docker-compose environment #438

Closed
opened 2026-02-27 08:17:18 +03:00 by kerem · 1 comment
Owner

Originally created by @mevgmbh on GitHub (Jul 30, 2025).
Original GitHub issue: https://github.com/lldap/lldap/issues/1235

Describe the bug
docker compose "LLDAP_HTTP_URL" setting is not working, ie. recognized for a PW reset, while the same setting in data/lldap_config.toml works well

To Reproduce
Steps to reproduce the behavior:

  1. add to docker-compose.yml LLDAP_HTTP_URL=ldap.abc.com, as described in https://github.com/lldap/lldap/blob/main/lldap_config.docker_template.toml and working well with eg. LLDAP_LDAP_BASE_DN=dc=abc,dc=com
  2. docker compose up -d /docker compose logs -f
  3. See error for docker compose logs -f and/or look at the link send at the PW reset mail

Expected behavior
do the same editing /data/lldap_config.toml with http_url = "http://localhost" -> http_url = "http://abc.com"

Logs
no logs available

Additional context
do the change in /data/lldap_config.toml, but not recommened as inconsitent configuration of the application - mention in https://github.com/lldap/lldap/blob/main/lldap_config.docker_template.toml: ##"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."##

Originally created by @mevgmbh on GitHub (Jul 30, 2025). Original GitHub issue: https://github.com/lldap/lldap/issues/1235 **Describe the bug** docker compose "LLDAP_HTTP_URL" setting is not working, ie. recognized for a PW reset, while the same setting in data/lldap_config.toml works well **To Reproduce** Steps to reproduce the behavior: 1. add to docker-compose.yml LLDAP_HTTP_URL=ldap.abc.com, as described in https://github.com/lldap/lldap/blob/main/lldap_config.docker_template.toml and working well with eg. LLDAP_LDAP_BASE_DN=dc=abc,dc=com 2. docker compose up -d /docker compose logs -f 3. See error for docker compose logs -f and/or look at the link send at the PW reset mail **Expected behavior** do the same editing /data/lldap_config.toml with http_url = "http://localhost" -> http_url = "http://abc.com" **Logs** no logs available **Additional context** do the change in /data/lldap_config.toml, but not recommened as inconsitent configuration of the application - mention in https://github.com/lldap/lldap/blob/main/lldap_config.docker_template.toml: ##"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."##
kerem 2026-02-27 08:17:18 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@MahdiBaghbani commented on GitHub (Sep 6, 2025):

If you write the URL like LLDAP_HTTP_URL=http://ldap.abc.com it should work

<!-- gh-comment-id:3262865141 --> @MahdiBaghbani commented on GitHub (Sep 6, 2025): If you write the URL like `LLDAP_HTTP_URL=http://ldap.abc.com` it should work
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/lldap-lldap#438
No description provided.