-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
61 lines (50 loc) · 1.11 KB
/
docker-compose.yaml
File metadata and controls
61 lines (50 loc) · 1.11 KB
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
60
61
version: '3'
networks:
intecwork:
driver: bridge
volumes:
content:
ldap_db:
ldap_config:
services:
intectainment:
build:
context: .
dockerfile: Dockerfile.prod
container_name: Intectainment
ports:
- 80:80
environment:
- INTECTAINMENT_DB_URI=sqlite:///content/database.db
- INTECTAINMENT_SECRET=Hallo
- INTECTAINMENT_LDAP_SERVER=ldap://openldap
volumes:
- content:/Intectainment/Intectainment/content
networks:
- intecwork
depends_on:
- openldap
openldap:
image: osixia/openldap:latest
ports:
- 389:389
- 636:636
volumes:
- ldap_db:/var/lib/ldap
- ldap_config:/etc/ldap/slapd.d
networks:
- intecwork
environment:
- LDAP_DOMAIN=intecsoft.de
- LDAP_BASE_DN=dc=intecsoft,dc=de
ldapadmin:
image: osixia/phpldapadmin
ports:
- 3001:80
#- 443:443
environment:
- PHPLDAPADMIN_LDAP_HOSTS=ldap://openldap
# you may change the http policy if you want use it properly
- PHPLDAPADMIN_HTTPS=false
networks:
- intecwork