From a2dfca0e3744917777751b89f9e1b02d1a480da2 Mon Sep 17 00:00:00 2001 From: Floris Date: Tue, 11 Oct 2022 09:31:26 +0200 Subject: [PATCH] readme: Update to reflect new stable user env settings --- README.md | 38 +++++--------------------------------- 1 file changed, 5 insertions(+), 33 deletions(-) diff --git a/README.md b/README.md index 1797ae2..a7fcc4c 100644 --- a/README.md +++ b/README.md @@ -97,8 +97,11 @@ 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. +Example for docker compose: +* You can use either the `:latest` tag image or `:stable` as used in this example. +* `:latest` tag image contains recently pushed code or feature tests, in which some instability can be expected. +* If `UID` and `GID` no defined LLDAP will use default `UID` and `GID` number `1000` + ```yaml version: '3' @@ -110,37 +113,6 @@ volumes: 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. -* If `UID` and `GID` no defined LLDAP will use default `UID` and `GID` number `1000` - -```yaml -version: '3' - -volumes: - lldap_data: - driver: local - -services: - lldap: - image: nitnelave/lldap:latest ports: # For LDAP - "3890:3890"