-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
51 lines (51 loc) · 1.08 KB
/
docker-compose.yaml
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
version: "3.8"
services:
timesheet-app:
build: ./apache
ports:
- 80:80
working_dir: /var/www/html
volumes:
- .:/var/www/html
mysql:
# image: mariadb:latest
build: ./mariadb
volumes:
- timesheet-mysql-data:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: secret
MYSQL_DATABASE: timesheet
phpmyadmin:
image: phpmyadmin:latest
ports:
- 8080:80
environment:
PMA_HOST: mysql
ldap_server:
image: ldap-server:latest
environment:
LDAP_ADMIN_PASSWORD: test1234
LDAP_BASE_DN: dc=testorg
ports:
- 389:389
volumes:
- ldap_data:/var/lib/ldap
- ldap_config:/etc/ldap/slapd.d
ldap_server_admin:
image: ldap_server_admin:latest
ports:
- 8090:80
environment:
PHPLDAPADMIN_LDAP_HOSTS: ldap_server
PHPLDAPADMIN_HTTPS: 'false'
mailhog:
image: mailhog/mailhog
logging:
driver: 'none' # disable saving logs
ports:
- 1025:1025 # smtp server
- 8025:8025 # web ui
volumes:
ldap_data:
ldap_config:
timesheet-mysql-data: