add an entrypoint script that allows setting secrets from a file; version the upstream containers

This commit is contained in:
kaysond
2021-11-24 22:43:49 -08:00
committed by nitnelave
parent df889ee2fe
commit 859ed97ca8
3 changed files with 27 additions and 3 deletions
+2
View File
@@ -71,6 +71,8 @@ Configure the server by copying the `lldap_config.docker_template.toml` to
Environment variables should be prefixed with `LLDAP_` to override the
configuration.
Secrets can also be set through a file. The filename should be specified by the variables `LLDAP_JWT_SECRET_FILE` or `LLDAP_USER_PASS_FILE`, and the file contents are loaded into the respective configuration parameters. Note that `_FILE` variables take precedence.
Example for docker compose:
```yaml