From ec5a08056e2165ef0c6a74cd472cdc7dd794a684 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sun, 19 Jan 2020 00:51:59 +0100 Subject: [PATCH] fix entrypoint --- overlay/etc/templates/config.toml.tmpl | 1 - overlay/usr/local/bin/entrypoint.sh | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/overlay/etc/templates/config.toml.tmpl b/overlay/etc/templates/config.toml.tmpl index 4d509e8..843d84e 100644 --- a/overlay/etc/templates/config.toml.tmpl +++ b/overlay/etc/templates/config.toml.tmpl @@ -1,5 +1,4 @@ ## Bitwarden_RS LDAP Configuration File - bitwarden_url = "{{ getenv "BITWARDENRS_LDAP_BITWARDEN_URL" }}" bitwarden_admin_token = "{{ getenv "BITWARDENRS_LDAP_BITWARDEN_ADMIN_TOKEN" }}" ldap_host = "{{ getenv "BITWARDENRS_LDAP_HOST" }}" diff --git a/overlay/usr/local/bin/entrypoint.sh b/overlay/usr/local/bin/entrypoint.sh index 1287e81..f4cb32d 100755 --- a/overlay/usr/local/bin/entrypoint.sh +++ b/overlay/usr/local/bin/entrypoint.sh @@ -2,4 +2,4 @@ /usr/local/bin/gomplate -V -o /app/config.toml -f /etc/templates/config.toml.tmpl -exec CONFIG_PATH=/app/config.toml /app/bitwarden_rs_ldap +exec env -i CONFIG_PATH=/app/config.toml /app/bitwarden_rs_ldap