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.
vaultwarden-ldap/docker-compose.yml

49 lines
1.1 KiB
YAML
Raw Normal View History

2020-01-18 23:19:48 +00:00
---
2020-10-18 12:24:21 +00:00
version: "3"
2020-01-18 23:19:48 +00:00
services:
2020-02-04 08:47:39 +00:00
postgres:
2020-05-04 17:43:13 +00:00
container_name: postgres
2020-02-04 08:47:39 +00:00
image: postgres
environment:
POSTGRES_DB: bitwarden
POSTGRES_PASSWORD: pass
POSTGRES_USER: user
2020-02-04 09:22:17 +00:00
ldap:
2020-05-04 17:43:13 +00:00
container_name: ldap
2020-02-04 09:22:17 +00:00
image: osixia/openldap
2020-02-04 08:47:39 +00:00
bitwardenrs:
2020-02-04 09:22:17 +00:00
container_name: bitwardenrs_server
2020-12-30 16:21:01 +00:00
image: thegeeklab/bitwardenrs
2020-02-04 08:47:39 +00:00
depends_on:
- postgres
ports:
- "80:8080"
volumes:
- data:/app/data
environment:
2020-05-04 17:43:13 +00:00
BITWARDENRS_DATABASE_URL: postgresql://user:pass@postgres:5432/bitwarden
2020-02-04 08:47:39 +00:00
BITWARDENRS_ADMIN_TOKEN: my_secure_token
2020-01-18 23:19:48 +00:00
bitwardenrs_ldap:
2020-05-04 17:43:13 +00:00
container_name: ldap_sync
restart: always
2020-12-30 16:21:01 +00:00
image: thegeeklab/bitwardenrs_ldap
2020-02-04 08:47:39 +00:00
depends_on:
- bitwardenrs
2020-02-04 09:22:17 +00:00
- ldap
2020-02-04 08:47:39 +00:00
environment:
2020-02-04 09:22:17 +00:00
BITWARDENRS_LDAP_BITWARDEN_URL: http://bitwardenrs_server:8080
2020-02-04 08:47:39 +00:00
BITWARDENRS_LDAP_BITWARDEN_ADMIN_TOKEN: my_secure_token
2020-05-04 17:43:13 +00:00
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
2020-02-04 08:47:39 +00:00
volumes:
data:
driver: local