-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
254 lines (242 loc) · 6.62 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
version: "3.8"
services:
ldap:
image: hidratest-ldap
build: test/docker/ldap
platform: linux
container_name: ldap
domainname: hidra.test
environment:
# Don't use quotes (single or double) for env values:
# https://github.com/osixia/docker-openldap/issues/479
- LDAP_BASE_DN=dc=hidra,dc=test
- LDAP_DOMAIN=hidra.test
networks:
hidra:
aliases:
- ldap.hidra.test
receiver:
image: hidratest-receiver-${RECEIVER_VERSION}
build: test/docker/receiver-${RECEIVER_VERSION}
platform: linux
container_name: asap3-p00
hostname: asap3-p00
domainname: hidra.test
networks:
hidra:
aliases:
- asap3-p00.hidra.test
volumes:
- ./build:/hidra/build
- ${HIDRA_TESTDIR}/receiver/beamline:/beamline
ports:
- "5680:5680"
depends_on:
- ldap
cap_add:
# allow attaching a debugger inside the container
- SYS_PTRACE
tty: true
eiger:
image: hidratest-eiger
build: test/docker/eiger
platform: linux
container_name: eiger
hostname: eiger
domainname: hidra.test
volumes:
- ${HIDRA_TESTDIR}/eiger/webcontent/:/webcontent
networks:
hidra:
aliases:
- eiger.hidra.test
depends_on:
- receiver
control-client:
image: hidratest-control-client
build: test/docker/control-client
platform: linux
container_name: control-client
hostname: control-client
domainname: hidra.test
init: true
networks:
hidra:
aliases:
- control-client.hidra.test
volumes:
- ./build:/hidra/build
ports:
- "5682:5682"
depends_on:
- ldap
- eiger
- receiver
tty: true
transfer-client:
image: hidratest-transfer-client
build: test/docker/transfer-client
platform: linux
container_name: transfer-client
hostname: transfer-client
domainname: hidra.test
init: true
networks:
hidra:
aliases:
- transfer-client.hidra.test
volumes:
- ./build:/hidra/build
ports:
- "5683:5683"
depends_on:
- ldap
tty: true
sender-freeze:
image: hidratest-sender-freeze
build:
context: test/docker/sender
dockerfile: Dockerfile_freeze
args:
user_uid: ${UID}
platform: linux
container_name: sender-freeze
hostname: sender-freeze
domainname: hidra.test
init: true
user: "${UID}:${UID}"
networks:
hidra:
aliases:
- sender-freeze.hidra.test
volumes:
- ./build:/hidra/build
- ${HIDRA_TESTDIR}/sender-freeze/ramdisk:/ramdisk
ports:
- "5685:5685"
depends_on:
- ldap
tty: true
sender-debian:
image: hidratest-sender-debian
build:
context: test/docker/sender
dockerfile: Dockerfile_debian
args:
user_uid: ${UID}
platform: linux
container_name: sender-debian
hostname: sender-debian
domainname: hidra.test
init: true
networks:
hidra:
aliases:
- sender-debian.hidra.test
volumes:
- ./build:/hidra/build
- ${HIDRA_TESTDIR}/sender-debian/ramdisk:/ramdisk
ports:
- "5686:5686"
depends_on:
- ldap
tty: true
sender-debian10:
image: hidratest-sender-debian10
build:
context: test/docker/sender
dockerfile: Dockerfile_debian10
args:
user_uid: ${UID}
platform: linux
container_name: sender-debian10
hostname: sender-debian10
domainname: hidra.test
init: true
networks:
hidra:
aliases:
- sender-debian10.hidra.test
volumes:
- ./build:/hidra/build
- ${HIDRA_TESTDIR}/sender-debian10/ramdisk:/ramdisk
ports:
- "5687:5687"
depends_on:
- ldap
tty: true
sender-debian11:
image: hidratest-sender-debian11
build:
context: test/docker/sender
dockerfile: Dockerfile_debian11
args:
user_uid: ${UID}
platform: linux
container_name: sender-debian11
hostname: sender-debian11
domainname: hidra.test
init: true
networks:
hidra:
aliases:
- sender-debian11.hidra.test
volumes:
- ./build:/hidra/build
- ${HIDRA_TESTDIR}/sender-debian11/ramdisk:/ramdisk
ports:
- "5689:5689"
depends_on:
- ldap
tty: true
sender-debian12:
image: hidratest-sender-debian12
build:
context: test/docker/sender
dockerfile: Dockerfile_debian12
args:
user_uid: ${UID}
platform: linux
container_name: sender-debian12
hostname: sender-debian12
domainname: hidra.test
init: true
networks:
hidra:
aliases:
- sender-debian12.hidra.test
volumes:
- ./build:/hidra/build
- ${HIDRA_TESTDIR}/sender-debian12/ramdisk:/ramdisk
ports:
- "5690:5690"
depends_on:
- ldap
tty: true
sender-suse:
image: hidratest-sender-suse
build:
context: test/docker/sender
dockerfile: Dockerfile_suse
args:
user_uid: ${UID}
platform: linux
container_name: sender-suse
hostname: sender-suse
domainname: hidra.test
init: true
networks:
hidra:
aliases:
- sender-suse.hidra.test
volumes:
- ./build:/hidra/build
- ${HIDRA_TESTDIR}/sender-suse/ramdisk:/ramdisk
ports:
- "5688:5688"
depends_on:
- ldap
tty: true
networks:
hidra:
name: hidra.test