add debugging output
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Robert Kaussow 2020-01-19 23:26:41 +01:00
parent ec5a08056e
commit 74028519df
2 changed files with 14 additions and 1 deletions

12
config.example Normal file
View File

@ -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

View File

@ -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