1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-05 13:08:17 -05:00

Add docker-compose profile for openldap (#2052)

This commit is contained in:
Thomas Rittson 2022-06-13 17:34:50 +10:00 committed by GitHub
parent 9ed4314d8d
commit 76e0790ff8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 0 deletions

4
dev/.gitignore vendored
View File

@ -1,8 +1,12 @@
.data .data
secrets.json secrets.json
# Docker container configurations
.env .env
authsources.php authsources.php
directory.ldif
# Development certificates
identity_server_dev.crt identity_server_dev.crt
identity_server_dev.key identity_server_dev.key
identity_server_dev.pfx identity_server_dev.pfx

View File

@ -84,6 +84,20 @@ services:
profiles: profiles:
- idp - idp
open-ldap:
image: osixia/openldap:1.5.0
command: --copy-service
environment:
LDAP_ORGANISATION: "Bitwarden"
LDAP_DOMAIN: "bitwarden.com"
volumes:
- ./directory.ldif:/container/service/slapd/assets/config/bootstrap/ldif/output.ldif
ports:
- '389:389'
- '636:636'
profiles:
- ldap
volumes: volumes:
edgesql_dev_data: edgesql_dev_data:
postgres_dev_data: postgres_dev_data: