mirror of
https://github.com/ViViDboarder/bitwarden_rs_ldap.git
synced 2024-06-02 08:12:25 +00:00
91d70e6bb8
This adds pre-commit hooks installable using the provided Makefile as well as a new check to validate the version in the Cargo file matches the git tag. This will be useful as a check before pushing releases.
43 lines
867 B
YAML
43 lines
867 B
YAML
---
|
|
version: '3'
|
|
services:
|
|
ldap_sync:
|
|
build:
|
|
context: .
|
|
# dockerfile: Dockerfile.alpine
|
|
volumes:
|
|
- ./example.config.toml:/usr/src/bitwarden_rs_ldap/config.toml:ro
|
|
environment:
|
|
RUST_BACKTRACE: 1
|
|
restart: always
|
|
|
|
bitwarden:
|
|
image: mprasil/bitwarden
|
|
ports:
|
|
- 8000:80
|
|
environment:
|
|
ADMIN_TOKEN: admin
|
|
SIGNUPS_ALLOWED: 'false'
|
|
INVITATIONS_ALLOWED: 'true'
|
|
|
|
ldap:
|
|
image: osixia/openldap
|
|
ports:
|
|
- 389:389
|
|
- 636:636
|
|
volumes:
|
|
- /var/lib/ldap
|
|
- /etc/ldap/slapd.d
|
|
environment:
|
|
LDAP_READONLY_USER: 'true'
|
|
LDAP_READONLY_USER_USERNAME: readonly
|
|
LDAP_READONLY_USER_PASSWORD: readonly
|
|
|
|
ldap_admin:
|
|
image: osixia/phpldapadmin
|
|
ports:
|
|
- 8001:80
|
|
environment:
|
|
PHPLDAPADMIN_HTTPS: 'false'
|
|
PHPLDAPADMIN_LDAP_HOSTS: ldap
|