-
Notifications
You must be signed in to change notification settings - Fork 60
/
docker-compose.yml
81 lines (73 loc) · 1.5 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
79
80
81
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"
idp:
build: ./idp/
depends_on:
- ldap
environment:
- JETTY_MAX_HEAP=64m
- JETTY_BROWSER_SSL_KEYSTORE_PASSWORD=password
- JETTY_BACKCHANNEL_SSL_KEYSTORE_PASSWORD=password
expose:
- "4443"
networks:
- back
secrets:
- source: idp_backchannel
- source: idp_browser
- source: idp_encryption
- source: idp_signing
- source: idp_sealer
ldap:
build: ./ldap/
networks:
- back
sp:
build: ./sp/
networks:
- back
secrets:
- source: sp_key
simplesamlphp:
build: ./simplesamlphp/
links:
- httpd-proxy:idptestbed
networks:
- back
secrets:
- source: ssp_key
php-cas:
build: ./php-cas/
links:
- httpd-proxy:idptestbed
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
idp_encryption:
file: ./secrets/idp/idp-encryption.key
idp_signing:
file: ./secrets/idp/idp-signing.key
idp_sealer:
file: ./secrets/idp/sealer.jks
ssp_key:
file: ./secrets/simplesamlphp/server.pem
sp_key:
file: ./secrets/sp/sp-key.pem