bitwarden_rs_ldap/docker-compose.yml

50 lines
1.0 KiB
YAML
Raw Normal View History

---
services:
ldap_sync:
2019-04-18 18:13:31 -07:00
build:
context: .
dockerfile: Dockerfile
volumes:
- ./example.config.toml:/config.toml:ro
2021-05-07 12:55:29 -07:00
# ./root.cert:/usr/src/vaultwarden_ldap/root.cert:ro
environment:
CONFIG_PATH: /config.toml
RUST_BACKTRACE: full
2021-05-07 12:55:29 -07:00
depends_on:
- vaultwarden
- ldap
restart: always
2021-05-07 12:55:29 -07:00
vaultwarden:
image: vaultwarden/server
ports:
- 8000:80
environment:
ADMIN_TOKEN: admin
SIGNUPS_ALLOWED: 'false'
INVITATIONS_ALLOWED: 'true'
I_REALLY_WANT_VOLATILE_STORAGE: 'true'
ldap:
2025-01-22 10:51:31 -08:00
image: bitnami/openldap:latest
environment:
2025-01-22 10:51:31 -08:00
LDAP_PORT_NUMBER: 389
LDAP_ROOT: dc=example,dc=org
LDAP_ADMIN_USERNAME: admin
LDAP_ADMIN_PASSWORD: adminpassword
LDAP_SKIP_DEFAULT_TREE: yes
LDAP_CUSTOM_LDIF_DIR: /ldifs
volumes:
- ./itest/ldif:/ldifs
ldap_admin:
image: osixia/phpldapadmin
ports:
- 8001:80
environment:
PHPLDAPADMIN_HTTPS: 'false'
PHPLDAPADMIN_LDAP_HOSTS: ldap
2021-05-07 12:55:29 -07:00
depends_on:
- ldap