This repository has been archived by the owner on Apr 23, 2022. It is now read-only.
forked from UniconLabs/dockerized-idp-testbed
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
100 lines (91 loc) · 1.98 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
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/
container_name: httpd-proxy
networks:
- front
- back
ports:
- "80:80"
- "443:443"
idp:
build: ./idp/
container_name: 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/
container_name: ldap
networks:
- back
sp:
build: ./sp/
container_name: sp
networks:
- back
secrets:
- source: sp_key
simplesamlphp:
build: ./simplesamlphp/
container_name: simplesamlphp
links:
- httpd-proxy:idptestbed
networks:
- back
secrets:
- source: ssp_key
php-cas:
build: ./php-cas/
container_name: php-cas
links:
- httpd-proxy:idptestbed
networks:
- back
fedora:
# build: ./fcrepo-webac/4.7.5/
image: pass/fcrepo:4.7.4-demo
container_name: fedora
networks:
- back
- front
env_file: .env
ports:
- "${FCREPO_PORT}:${FCREPO_PORT}"
- "${FCREPO_JMS_PORT}:${FCREPO_JMS_PORT}"
- "${FCREPO_STOMP_PORT}:${FCREPO_STOMP_PORT}"
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