From 55a23eae598e9eb52463c71bde3b1e055ae6d0f4 Mon Sep 17 00:00:00 2001 From: Floris Date: Mon, 10 Oct 2022 22:57:39 +0200 Subject: [PATCH] Update readme to reflect new user env settings --- README.md | 34 +++------------------------------- 1 file changed, 3 insertions(+), 31 deletions(-) diff --git a/README.md b/README.md index 1797ae2..2134394 100644 --- a/README.md +++ b/README.md @@ -97,40 +97,12 @@ variables `LLDAP_JWT_SECRET_FILE` or `LLDAP_LDAP_USER_PASS_FILE`, and the file contents are loaded into the respective configuration parameters. Note that `_FILE` variables take precedence. -Example for docker compose for `:stable` tag: -* When defined with `user: ##:##` , ensure `/data` directory had permission for the defined user, else `1000:1000` used. - -```yaml -version: '3' - -volumes: - lldap_data: - driver: local - -services: - lldap: - image: nitnelave/lldap:stable - # Change this to the user:group you want. - user: "33:33" - ports: - # For LDAP - - "3890:3890" - # For the web front-end - - "17170:17170" - volumes: - - "lldap_data:/data" - # Alternatively, you can mount a local folder - # - "./lldap_data:/data" - environment: - - LLDAP_JWT_SECRET=REPLACE_WITH_RANDOM - - LLDAP_LDAP_USER_PASS=REPLACE_WITH_PASSWORD - - LLDAP_LDAP_BASE_DN=dc=example,dc=com -``` - Example for docker compose for `:latest` tag: -* `:latest` tag image contain recent pushed codes or feature test, breaks is expected. +* `:latest` tag image contains recently pushed code or feature tests, some broken parts are to be expected. +* Change the image to `nitnelave/lldap:stable` to get the stable version. * If `UID` and `GID` no defined LLDAP will use default `UID` and `GID` number `1000` + ```yaml version: '3'