From 74028519dfa84357ea4f58f835e5574042ec01e8 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sun, 19 Jan 2020 23:26:41 +0100 Subject: [PATCH] add debugging output --- config.example | 12 ++++++++++++ overlay/usr/local/bin/entrypoint.sh | 3 ++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 config.example diff --git a/config.example b/config.example new file mode 100644 index 0000000..4d31494 --- /dev/null +++ b/config.example @@ -0,0 +1,12 @@ +## Bitwarden_RS LDAP Configuration File +bitwarden_url = "" +bitwarden_admin_token = "" +ldap_host = "" +ldap_ssl = true +ldap_bind_dn = "" +ldap_bind_password = "" +ldap_search_base_dn = "" +ldap_search_filter = "(&(objectClass=*)(uid=*))" +ldap_mail_field = "mail" +ldap_sync_interval_seconds = 60 +ldap_sync_loop = true diff --git a/overlay/usr/local/bin/entrypoint.sh b/overlay/usr/local/bin/entrypoint.sh index f4cb32d..23a37f4 100755 --- a/overlay/usr/local/bin/entrypoint.sh +++ b/overlay/usr/local/bin/entrypoint.sh @@ -1,5 +1,6 @@ #!/usr/bin/env sh /usr/local/bin/gomplate -V -o /app/config.toml -f /etc/templates/config.toml.tmpl +/bin/cat /app/config.toml -exec env -i CONFIG_PATH=/app/config.toml /app/bitwarden_rs_ldap +exec env CONFIG_PATH=/app/config.toml /app/bitwarden_rs_ldap