Browse Source
Co-authored-by: Robert Kaussow <mail@geeklabor.de> Reviewed-on: #29 Co-authored-by: Robert Kaussow <xoxys@rknet.org> Co-committed-by: Robert Kaussow <xoxys@rknet.org>pull/30/head v0.4.0-1
9 changed files with 88 additions and 88 deletions
@ -1,42 +1,42 @@
|
||||
# bitwardenrs_ldap |
||||
# vaultwarden-ldap |
||||
|
||||
Custom image for the BitwardenRS LDAP connector |
||||
Custom image for the Vaultwarden LDAP connector |
||||
|
||||
[](https://drone.rknet.org/docker/bitwardenrs_ldap) |
||||
[](https://hub.docker.com/r/thegeeklab/bitwardenrs_ldap) |
||||
[](https://quay.io/repository/thegeeklab/bitwardenrs_ldap) |
||||
[](https://gitea.rknet.org/docker/bitwardenrs_ldap) |
||||
[](https://gitea.rknet.org/docker/bitwardenrs_ldap/src/branch/main/LICENSE) |
||||
[](https://drone.rknet.org/docker/vaultwarden-ldap) |
||||
[](https://hub.docker.com/r/thegeeklab/vaultwarden-ldap) |
||||
[](https://quay.io/repository/thegeeklab/vaultwarden-ldap) |
||||
[](https://gitea.rknet.org/docker/vaultwarden-ldap) |
||||
[](https://gitea.rknet.org/docker/vaultwarden-ldap/src/branch/main/LICENSE) |
||||
|
||||
This is a rootless custom Docker image for [bitwarden_rs_ldap](https://github.com/ViViDboarder/bitwarden_rs_ldap) a simple LDAP connector for bitwarden_rs. |
||||
This is a rootless custom Docker image for [vaultwarden_ldap](https://github.com/ViViDboarder/vaultwarden_ldap) a simple LDAP connector for vaultwarden. |
||||
|
||||
## Usage |
||||
|
||||
### Docker Compose |
||||
|
||||
Please take a look at the [example](https://gitea.rknet.org/docker/bitwardenrs_ldap/src/branch/main/docker-compose.yml) compose file from the git repo. |
||||
Please take a look at the [example](https://gitea.rknet.org/docker/vaultwarden-ldap/src/branch/main/docker-compose.yml) compose file from the git repo. |
||||
|
||||
## Configuration |
||||
|
||||
```Shell |
||||
BITWARDENRS_LDAP_BITWARDEN_URL= |
||||
BITWARDENRS_LDAP_BITWARDEN_ADMIN_TOKEN= |
||||
BITWARDENRS_LDAP_BITWARDEN_ROOT_CERT_FILE= |
||||
|
||||
BITWARDENRS_LDAP_HOST= |
||||
BITWARDENRS_LDAP_SCHEME= |
||||
BITWARDENRS_LDAP_SSL=True |
||||
BITWARDENRS_LDAP_SSL_VERIFY=True |
||||
BITWARDENRS_LDAP_PORT= |
||||
BITWARDENRS_LDAP_BIND_DN= |
||||
BITWARDENRS_LDAP_BIND_PASSWORD= |
||||
BITWARDENRS_LDAP_SEARCH_BASE_DN= |
||||
BITWARDENRS_LDAP_SEARCH_FILTER="(&(objectClass=*)(uid=*))" |
||||
BITWARDENRS_LDAP_MAIL_FIELD=mail |
||||
BITWARDENRS_LDAP_SYNC_INTERVAL_SECONDS=60 |
||||
BITWARDENRS_LDAP_SYNC_LOOP=True |
||||
VAULTWARDEN_LDAP_VAULTWARDEN_URL= |
||||
VAULTWARDEN_LDAP_VAULTWARDEN_ADMIN_TOKEN= |
||||
VAULTWARDEN_LDAP_VAULTWARDEN_ROOT_CERT_FILE= |
||||
|
||||
VAULTWARDEN_LDAP_HOST= |
||||
VAULTWARDEN_LDAP_SCHEME= |
||||
VAULTWARDEN_LDAP_SSL=True |
||||
VAULTWARDEN_LDAP_SSL_VERIFY=True |
||||
VAULTWARDEN_LDAP_PORT= |
||||
VAULTWARDEN_LDAP_BIND_DN= |
||||
VAULTWARDEN_LDAP_BIND_PASSWORD= |
||||
VAULTWARDEN_LDAP_SEARCH_BASE_DN= |
||||
VAULTWARDEN_LDAP_SEARCH_FILTER="(&(objectClass=*)(uid=*))" |
||||
VAULTWARDEN_LDAP_MAIL_FIELD=mail |
||||
VAULTWARDEN_LDAP_SYNC_INTERVAL_SECONDS=60 |
||||
VAULTWARDEN_LDAP_SYNC_LOOP=True |
||||
``` |
||||
|
||||
## License |
||||
|
||||
This project is licensed under the MIT License - see the [LICENSE](https://gitea.rknet.org/docker/bitwardenrs_ldap/src/branch/main/LICENSE) file for details. |
||||
This project is licensed under the MIT License - see the [LICENSE](https://gitea.rknet.org/docker/vaultwarden-ldap/src/branch/main/LICENSE) file for details. |
||||
|
@ -1,22 +1,22 @@
|
||||
## Bitwarden_RS LDAP Configuration File |
||||
bitwarden_url = "{{ getenv "BITWARDENRS_LDAP_BITWARDEN_URL" }}" |
||||
bitwarden_admin_token = "{{ getenv "BITWARDENRS_LDAP_BITWARDEN_ADMIN_TOKEN" }}" |
||||
{{ if (getenv "BITWARDENRS_LDAP_BITWARDEN_ROOT_CERT_FILE") -}} |
||||
bitwarden_root_cert_file = "{{ getenv "BITWARDENRS_LDAP_BITWARDEN_ROOT_CERT_FILE" }}" |
||||
## Vaultwarden LDAP Configuration File |
||||
vaultwarden_url = "{{ getenv "VAULTWARDEN_LDAP_VAULTWARDEN_URL" }}" |
||||
vaultwarden_admin_token = "{{ getenv "VAULTWARDEN_LDAP_VAULTWARDEN_ADMIN_TOKEN" }}" |
||||
{{ if (getenv "VAULTWARDEN_LDAP_VAULTWARDEN_ROOT_CERT_FILE") -}} |
||||
vaultwarden_root_cert_file = "{{ getenv "VAULTWARDEN_LDAP_VAULTWARDEN_ROOT_CERT_FILE" }}" |
||||
{{ end -}} |
||||
ldap_host = "{{ getenv "BITWARDENRS_LDAP_HOST" }}" |
||||
{{ if (getenv "BITWARDENRS_LDAP_SCHEME") -}} |
||||
ldap_scheme = "{{ getenv "BITWARDENRS_LDAP_SCHEME" }}" |
||||
ldap_host = "{{ getenv "VAULTWARDEN_LDAP_HOST" }}" |
||||
{{ if (getenv "VAULTWARDEN_LDAP_SCHEME") -}} |
||||
ldap_scheme = "{{ getenv "VAULTWARDEN_LDAP_SCHEME" }}" |
||||
{{ end -}} |
||||
ldap_ssl = {{ getenv "BITWARDENRS_LDAP_SSL" "true" | conv.Bool }} |
||||
ldap_no_tls_verify = {{ not (getenv "BITWARDENRS_LDAP_SSL_VERIFY" "true" | conv.Bool) }} |
||||
{{ if (getenv "BITWARDENRS_LDAP_PORT") -}} |
||||
ldap_port = {{ getenv "BITWARDENRS_LDAP_PORT" }} |
||||
ldap_ssl = {{ getenv "VAULTWARDEN_LDAP_SSL" "true" | conv.Bool }} |
||||
ldap_no_tls_verify = {{ not (getenv "VAULTWARDEN_LDAP_SSL_VERIFY" "true" | conv.Bool) }} |
||||
{{ if (getenv "VAULTWARDEN_LDAP_PORT") -}} |
||||
ldap_port = {{ getenv "VAULTWARDEN_LDAP_PORT" }} |
||||
{{ end -}} |
||||
ldap_bind_dn = "{{ getenv "BITWARDENRS_LDAP_BIND_DN" }}" |
||||
ldap_bind_password = "{{ getenv "BITWARDENRS_LDAP_BIND_PASSWORD" }}" |
||||
ldap_search_base_dn = "{{ getenv "BITWARDENRS_LDAP_SEARCH_BASE_DN" }}" |
||||
ldap_search_filter = "{{ getenv "BITWARDENRS_LDAP_SEARCH_FILTER" "(&(objectClass=*)(uid=*))" }}" |
||||
ldap_mail_field = "{{ getenv "BITWARDENRS_LDAP_MAIL_FIELD" "mail" }}" |
||||
ldap_sync_interval_seconds = {{ getenv "BITWARDENRS_LDAP_SYNC_INTERVAL_SECONDS" "60" }} |
||||
ldap_sync_loop = {{ getenv "BITWARDENRS_LDAP_SYNC_LOOP" "true" | conv.Bool }} |
||||
ldap_bind_dn = "{{ getenv "VAULTWARDEN_LDAP_BIND_DN" }}" |
||||
ldap_bind_password = "{{ getenv "VAULTWARDEN_LDAP_BIND_PASSWORD" }}" |
||||
ldap_search_base_dn = "{{ getenv "VAULTWARDEN_LDAP_SEARCH_BASE_DN" }}" |
||||
ldap_search_filter = "{{ getenv "VAULTWARDEN_LDAP_SEARCH_FILTER" "(&(objectClass=*)(uid=*))" }}" |
||||
ldap_mail_field = "{{ getenv "VAULTWARDEN_LDAP_MAIL_FIELD" "mail" }}" |
||||
ldap_sync_interval_seconds = {{ getenv "VAULTWARDEN_LDAP_SYNC_INTERVAL_SECONDS" "60" }} |
||||
ldap_sync_loop = {{ getenv "VAULTWARDEN_LDAP_SYNC_LOOP" "true" | conv.Bool }} |
||||
|
Loading…
Reference in new issue