-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
59 lines (54 loc) · 1.04 KB
/
docker-compose.yml
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# DEV SETUP!
version: "3"
networks:
pg_db:
external: false
ldap_net:
external: false
services:
lama:
image: lama:0.1
build:
context: docker/lama
dockerfile: Dockerfile.dev
networks:
- ldap_net
- pg_db
env_file:
- docker/lama/dev.env
volumes:
- ./src:/lama
depends_on:
- dblama
- ldap
ports:
- 0.0.0.0:8888:80
dblama:
image: postgres:11.2-alpine
networks:
- pg_db
volumes:
- ./db/pgdata/:/var/lib/postgresql/data/
env_file:
- docker/lama/dev.env
ldap:
image: docker.clkl.de/ldap/ldap:0.3-lama
build:
context: docker/ldap
dockerfile: Dockerfile.ldap
env_file: docker/ldap/ldap.env
volumes:
- ./docker/ldap/data/var/:/var/lib/openldap/
networks:
- ldap_net
ldap_admin:
image: docker.clkl.de/ldap/admin:0.1-lama
build:
context: docker/ldap
dockerfile: Dockerfile.admin
networks:
- ldap_net
depends_on:
- ldap
ports:
- 0.0.0.0:8080:80