-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (35 loc) · 974 Bytes
/
docker-compose.yml
File metadata and controls
35 lines (35 loc) · 974 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
version: '3.2'
services:
openldap:
image: osixia/openldap
environment:
LDAP_ORGANISATION: "Example Org."
LDAP_DOMAIN: "example.com"
LDAP_BACKEND: "mdb"
expose:
- "389"
- "689"
volumes:
- type: bind
source: ./docker/bootstrap_openldap/schema
target: /container/service/slapd/assets/config/bootstrap/schema/custom
- type: bind
source: ./docker/bootstrap_openldap/acl.ldif
target: /container/service/slapd/assets/config/bootstrap/ldif/07-general-acl.ldif
- type: bind
source: ./docker/bootstrap_openldap/ldif
target: /container/service/slapd/assets/config/bootstrap/ldif/custom
command: --copy-service
auth:
build: .
image: auth:latest
ports:
- "5000:80"
volumes:
- type: bind
source: ./docker/auth.conf
target: /etc/auth.conf
environment:
AUTH_SETTINGS: /etc/auth.conf
depends_on:
- openldap