[add] lldap

This commit is contained in:
Andy Bunce 2025-05-08 10:49:51 +01:00
parent e35638199d
commit c9483e83fb
6 changed files with 48 additions and 2 deletions

View file

@ -160,10 +160,11 @@ orlop.duckdns.org {
handle @kodi { handle @kodi {
import n2 8080 import n2 8080
} }
@recipe host recipe.orlop.duckdns.org @recipe host recipes.orlop.duckdns.org
handle @recipe { handle @recipe {
import n2plus 9925 import n2plus 9925
} }
@test host test.orlop.duckdns.org @test host test.orlop.duckdns.org
handle @test { handle @test {
respond "test, test. Hello, world!" respond "test, test. Hello, world!"

View file

43
lldap/compose.yaml Normal file
View file

@ -0,0 +1,43 @@
volumes:
lldap_data:
driver: local
services:
lldap:
image: lldap/lldap:stable
ports:
# For LDAP, not recommended to expose, see Usage section.
#- "3890:3890"
# For LDAPS (LDAP Over SSL), enable port if LLDAP_LDAPS_OPTIONS__ENABLED set true, look env below
#- "6360:6360"
# For the web front-end
- "17170:17170"
volumes:
- "lldap_data:/data"
# Alternatively, you can mount a local folder
# - "./lldap_data:/data"
environment:
- UID=####
- GID=####
- TZ=####/####
- LLDAP_JWT_SECRET=REPLACE_WITH_RANDOM
- LLDAP_KEY_SEED=REPLACE_WITH_RANDOM
- LLDAP_LDAP_BASE_DN=dc=example,dc=com
- LLDAP_LDAP_USER_PASS=adminPas$word
# If using LDAPS, set enabled true and configure cert and key path
# - LLDAP_LDAPS_OPTIONS__ENABLED=true
# - LLDAP_LDAPS_OPTIONS__CERT_FILE=/path/to/certfile.crt
# - LLDAP_LDAPS_OPTIONS__KEY_FILE=/path/to/keyfile.key
# You can also set a different database:
# - LLDAP_DATABASE_URL=mysql://mysql-user:password@mysql-server/my-database
# - LLDAP_DATABASE_URL=postgres://postgres-user:password@postgres-server/my-database
# If using SMTP, set the following variables
# - LLDAP_SMTP_OPTIONS__ENABLE_PASSWORD_RESET=true
# - LLDAP_SMTP_OPTIONS__SERVER=smtp.example.com
# - LLDAP_SMTP_OPTIONS__PORT=465 # Check your smtp providor's documentation for this setting
# - LLDAP_SMTP_OPTIONS__SMTP_ENCRYPTION=TLS # How the connection is encrypted, either "NONE" (no encryption, port 25), "TLS" (sometimes called SSL, port 465) or "STARTTLS" (sometimes called TLS, port 587).
# - LLDAP_SMTP_OPTIONS__USER=no-reply@example.com # The SMTP user, usually your email address
# - 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__TO=admin <admin@example.com> # Same for reply-to, optional.

1
lldap/readme.md Normal file
View file

@ -0,0 +1 @@
https://github.com/lldap/lldap

View file

@ -23,7 +23,7 @@ services:
PUID: 1000 PUID: 1000
PGID: 1000 PGID: 1000
TZ: Europe/London TZ: Europe/London
BASE_URL: https://recipe.orlop.duckdns.org BASE_URL: https://recipes.orlop.duckdns.org
env_file: env_file:
- recipe.env - recipe.env

1
mealie/readme.md Normal file
View file

@ -0,0 +1 @@
https://github.com/mealie-recipes/mealie