-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
78 lines (67 loc) · 1.42 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
version: "3.1"
services:
#This handles all of the http request to simple cert issues and both the SP and IdP can share the same ports.
httpd-proxy:
build: ./httpd-proxy/
networks:
- front
- back
ports:
- "80:80"
- "443:443"
ldap:
build: ./ldap/
networks:
- back
midpoint:
build: ./midpoint/
depends_on:
- mysql
# environment:
# - JETTY_MAX_HEAP=64m
# - JETTY_BROWSER_SSL_KEYSTORE_PASSWORD=password
# - JETTY_BACKCHANNEL_SSL_KEYSTORE_PASSWORD=password
networks:
- back
# secrets:
# - source: idp_backchannel
mysql:
image: mysql:8.0
environment:
- MYSQL_ROOT_PASSWORD=password
- MYSQL_DATABASE=midpoint
- MYSQL_USER=midpoint
- MYSQL_PASSWORD=password
networks:
- back
# secrets:
# - source: idp_backchannel
# - source: idp_browser
phpldapadmin:
depends_on:
- ldap
environment:
- LDAP_SERVER_HOST=ldap
- UNIQUE_ATTRS=uid,cn
image: dinkel/phpldapadmin
networks:
- back
phpmyadmin:
depends_on:
- mysql
environment:
- PMA_ABSOLUTE_URI=phpmyadmin
- PMA_HOST=mysql
image: phpmyadmin/phpmyadmin:4.7
networks:
- back
networks:
front:
driver: bridge
back:
driver: bridge
#secrets:
# idp_backchannel:
# file: ./secrets/idp/idp-backchannel.p12
# idp_browser:
# file: ./secrets/idp/idp-browser.p12