-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose-02.test.yml
117 lines (105 loc) · 2.12 KB
/
docker-compose-02.test.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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
version: '3.1'
services:
sut:
image: golang:alpine3.10
working_dir: /go/src
command: go test -v ./...
env_file: .env
environment:
- CGO_ENABLED=0
- FCREPO_BASE_URI=http://fcrepo:8080/fcrepo/rest
- PUBLIC_BASE_URI=https://archive.local/fcrepo/rest
- SP_PROXY_URI=http://sp/fcrepo/rest
volumes:
- "./fcrepo-image-test:/go/src"
networks:
- front
depends_on:
- fcrepo
- activemq
- ldap
- sp
- idp
- proxy
fcrepo:
build:
context: .
container_name: fcrepo
env_file: .env
volumes:
- jhuda-data:/data
networks:
- front
depends_on:
- assets
- activemq
activemq:
image: jhuda/activemq:latest
container_name: activemq
networks:
- front
idp:
image: jhuda/idp:latest
container_name: idp
depends_on:
- ldap
environment:
- JETTY_MAX_HEAP=64m
- JETTY_BROWSER_SSL_KEYSTORE_PASSWORD=password
- JETTY_BACKCHANNEL_SSL_KEYSTORE_PASSWORD=password
networks:
- front
expose:
- "4443"
secrets:
- source: idp_backchannel
- source: idp_browser
- source: idp_encryption
- source: idp_signing
- source: idp_sealer
sp:
image: jhuda/sp:latest
container_name: sp
networks:
- front
secrets:
- source: sp_key
ldap:
image: jhuda/ldap:latest
container_name: ldap
networks:
- front
assets:
image: jhuda/assets:latest
volumes:
- jhuda-data:/data
networks:
- front
proxy:
image: jhuda/proxy:latest
container_name: proxy
networks:
front:
aliases:
- archive.local
ports:
- "80:80"
- "443:443"
networks:
front:
volumes:
jhuda-data:
driver: local
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
sp_key:
file: ./secrets/sp/sp-key.pem