This repository has been archived on 2024-02-03. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Robert Kaussow 8104f47ff5
continuous-integration/drone/tag Build is passing Details
[skip ci] update changelog
2020-09-02 22:34:03 +02:00
overlay add delay to minimize connection errors on first start 2020-02-04 13:17:04 +01:00
.drone.yml publish to quay and dockerhub 2020-09-02 21:28:18 +02:00
.gitignore inital commit 2020-01-19 00:19:48 +01:00
CHANGELOG.md [skip ci] update changelog 2020-09-02 22:34:03 +02:00
Dockerfile refactoring 2020-02-22 17:32:27 +01:00
LICENSE update readme and license 2020-02-22 18:08:14 +01:00
Makefile remove workaround to patch compiler warnings 2020-05-04 20:09:38 +02:00
README.md fix headline 2020-09-02 21:41:16 +02:00
docker-compose.yml cleanup 2020-05-04 19:43:13 +02:00

README.md

bitwardenrs_ldap

Rootless Bitwarden_RS - Self-hosted password manager

Build Status Docker Hub Quay.io Source: Gitea License: MIT

This is a custom Docker image for bitwarden_rs_ldap a simple LDAP connector for bitwarden_rs.

Usage

Docker Compose

---
version: '3'

services:
  postgres:
    container_name: postgres
    image: postgres
    environment:
      POSTGRES_DB: bitwarden
      POSTGRES_PASSWORD: pass
      POSTGRES_USER: user

  ldap:
    container_name: ldap
    image: osixia/openldap

  bitwardenrs:
    container_name: bitwardenrs_server
    image: xoxys/bitwardenrs:latest
    depends_on:
      - postgres
    ports:
      - "80:8080"
    volumes:
      - data:/app/data
    environment:
      BITWARDENRS_DATABASE_URL: postgresql://user:pass@postgres:5432/bitwarden
      BITWARDENRS_ADMIN_TOKEN: my_secure_token

  bitwardenrs_ldap:
    container_name: ldap_sync
    restart: always
    image: xoxys/bitwardenrs_ldap:latest
    depends_on:
      - bitwardenrs
      - ldap
    environment:
      BITWARDENRS_LDAP_BITWARDEN_URL: http://bitwardenrs_server:8080
      BITWARDENRS_LDAP_BITWARDEN_ADMIN_TOKEN: my_secure_token
      BITWARDENRS_LDAP_HOST: ldap
      BITWARDENRS_LDAP_SSL: "False"
      BITWARDENRS_LDAP_BIND_DN: "cn=admin,dc=example,dc=org"
      BITWARDENRS_LDAP_SEARCH_BASE_DN: "dc=example,dc=org"
      BITWARDENRS_LDAP_BIND_PASSWORD: admin

volumes:
  data:
    driver: local

Configuration

BITWARDENRS_LDAP_BITWARDEN_URL=
BITWARDENRS_LDAP_BITWARDEN_ADMIN_TOKEN=
BITWARDENRS_LDAP_HOST=
BITWARDENRS_LDAP_SCHEME=
BITWARDENRS_LDAP_SSL=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

License

This project is licensed under the MIT License - see the LICENSE file for details.

Maintainers and Contributors

Robert Kaussow