doc: added LLDAP_HTTP_URL env variable for SMTP settings

Signed-off-by: Tim Beermann <tibeer@berryit.de>
This commit is contained in:
Tim Beermann
2026-04-09 09:55:41 +02:00
committed by nitnelave
parent 2dc6178bd0
commit 52a08d3ad9
2 changed files with 2 additions and 1 deletions

View File

@@ -86,6 +86,7 @@ services:
# - LLDAP_SMTP_OPTIONS__PASSWORD=PasswordGoesHere # The SMTP password # - LLDAP_SMTP_OPTIONS__PASSWORD=PasswordGoesHere # The SMTP password
# - LLDAP_SMTP_OPTIONS__FROM=no-reply <no-reply@example.com> # The header field, optional: how the sender appears in the email. The first is a free-form name, followed by an email between <>. # - LLDAP_SMTP_OPTIONS__FROM=no-reply <no-reply@example.com> # The header field, optional: how the sender appears in the email. The first is a free-form name, followed by an email between <>.
# - LLDAP_SMTP_OPTIONS__TO=admin <admin@example.com> # Same for reply-to, optional. # - LLDAP_SMTP_OPTIONS__TO=admin <admin@example.com> # Same for reply-to, optional.
# - LLDAP_HTTP_URL=https://lldap.example.com # URL used in the email template to compose the reset link
``` ```
Then the service will listen on two ports, one for LDAP and one for the web Then the service will listen on two ports, one for LDAP and one for the web

View File

@@ -151,7 +151,7 @@ pub struct RunOpts {
#[clap(long, env = "LLDAP_HTTP_PORT")] #[clap(long, env = "LLDAP_HTTP_PORT")]
pub http_port: Option<u16>, pub http_port: Option<u16>,
/// URL of the server, for password reset links. /// URL of the server, for password reset links. Default: "http://localhost"
#[clap(long, env = "LLDAP_HTTP_URL")] #[clap(long, env = "LLDAP_HTTP_URL")]
pub http_url: Option<Url>, pub http_url: Option<Url>,