Lemonldap::NG portal and manager based on yadd/lemonldap-ng-base
Note that you should share sessions and configuration to use. See docker-compose example to see how to do this using redis and PostgreSQL.
stable
: latest lemonldap-ng* packages from Debian backportsstable-no-s6
: the same without S6-overlay2.x.x
: versioned lemonldap-ng* packages from Debian backports2.x.x-no-s6
: the same without S6-overlay
Features (inherited from yadd/lemonldap-ng-base)
- Update current configuration using given variables :
- set domain (
SSODOMAIN
) - set portal (
PORTAL
) - set log level (
LOGLEVEL
) - if
REDIS_SERVER
is set, changeglobalStorage
toApache::Session::Browseable::Redis
and configure it (indexes given byREDIS_INDEXES
, default: "uid mail")
- set domain (
- Upload local configuration into PostgreSQL database if:
PG_SERVER
is given AND- PostgreSQL table is empty
- Other:
DEFAULT_WEBSITE
=no
, if set toyes
the default Nginx website is deletedPROTECTION
=manager
, set it tonone
if you don't want to protect the manager by LemonLDAP-NG itselfAUTHBASIC
, if you usePROTECTION=none
, you can add a basic authentication usingAUTHBASIC=<login>:<password>
Example with Crowdsec enabled, Postgres database and Redis to share sessions.
version: "3.4"
services:
db:
image: yadd/lemonldap-ng-pg-database
environment:
- POSTGRES_PASSWORD=zz
healthcheck:
test: ["CMD-SHELL", "pg_isready"]
interval: 10s
timeout: 5s
retries: 5
redis:
image: redis
llng:
image: yadd/lemonldap-ng-full
ports:
- 80:80
environment:
- PG_SERVER=db
- REDIS_SERVER=redis:6379
- LOGGER=stderr
- USERLOGGER=stderr
- CROWDSEC_SERVER=http://crowdsec:8080
- CROWDSEC_KEY=myrandomstring
- CROWDSEC_ACTION=reject
depends_on:
db:
condition: service_healthy
redis:
condition: service_started
crowdsec:
image: crowdsecurity/crowdsec
environment:
- BOUNCER_KEY_llng=myrandomstring
- Repository: github.com/guimard/llng-docker
- Dockerfile
- Issues database
Copyright:
- 2018-2024, Xavier Guimard yadd@debian.org
- 2023-2024, LINAGORA https://linagora.com
License: GNU General Public License v2.0