2019-03-31 03:03:46 +00:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
ldap_sync:
|
2019-04-19 01:13:31 +00:00
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
# dockerfile: Dockerfile.alpine
|
2019-04-12 00:07:59 +00:00
|
|
|
volumes:
|
|
|
|
- ./example.config.toml:/usr/src/bitwarden_rs_ldap/config.toml:ro
|
2019-10-02 20:02:51 +00:00
|
|
|
environment:
|
|
|
|
RUST_BACKTRACE: 1
|
2019-04-12 00:07:59 +00:00
|
|
|
restart: always
|
2019-03-31 03:03:46 +00:00
|
|
|
|
|
|
|
bitwarden:
|
2019-04-12 00:07:59 +00:00
|
|
|
image: mprasil/bitwarden
|
|
|
|
ports:
|
|
|
|
- 8000:80
|
|
|
|
environment:
|
|
|
|
ADMIN_TOKEN: admin
|
2019-04-19 00:15:29 +00:00
|
|
|
SIGNUPS_ALLOWED: 'false'
|
|
|
|
INVITATIONS_ALLOWED: 'true'
|
2019-03-31 03:03:46 +00:00
|
|
|
|
|
|
|
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
|