-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
52 lines (45 loc) · 969 Bytes
/
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
version: '3'
services:
app:
image: iamapinan/edoc-mod:latest
restart: always
ports:
- 8000:80
volumes:
- ./:/var/www/html/
openldap:
image: osixia/openldap:1.5.0
environment:
- LDAP_ADMIN_PASSWORD=m0dep@ss
- LDAP_DOMAIN=mode-education.com
- LDAP_ORGANISATION=Mode Solution Co.,LTD.
volumes:
- ./ldap/data:/data/slapd
ports:
- 389:389
db:
image: mariadb
restart: always
environment:
MARIADB_DATABASE: ${DB_DATABASE}
MARIADB_USER: ${DB_USERNAME}
MARIADB_PASSWORD: ${DB_PASSWORD}
MARIADB_ROOT_PASSWORD: ${DB_PASSWORD}
volumes:
- database_file:/var/lib/mysql
adminer:
image: adminer
restart: always
ports:
- 8001:8080
redis:
image: redis
restart: always
ldapadmin:
image: osixia/phpldapadmin
environment:
- PHPLDAPADMIN_LDAP_HOSTS=openldap
ports:
- 8433:443
volumes:
database_file: