example_configs: add ldap_ssl to vaultwarden_ldap_sync:2.0.2 (#1011)

This commit is contained in:
Hobbabobba 2024-10-28 16:43:49 +01:00 committed by GitHub
parent f0fcc88f1d
commit 8f6c324de7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,12 +9,11 @@ Replace `dc=example,dc=com` with your LLDAP configured domain.
version: '3'
services:
ldap_sync:
image: vividboarder/vaultwarden_ldap:0.6-alpine
image: vividboarder/vaultwarden_ldap:2.0.2
volumes:
- ./config.toml:/config.toml:ro
environment:
CONFIG_PATH: /config.toml
RUST_BACKTRACE: 1
restart: always
```
Configuration to use LDAP in `config.toml`
@ -23,6 +22,7 @@ vaultwarden_url = "http://your_bitwarden_url:port"
vaultwarden_admin_token = "insert_admin_token_vaultwarden"
ldap_host = "insert_ldap_host"
ldap_port = 3890
ldap_ssl = false # true if using LDAPS
ldap_bind_dn = "uid=admin,ou=people,dc=example,dc=com"
ldap_bind_password = "insert_admin_pw_ldap"
ldap_search_base_dn = "dc=example,dc=com"