-
Notifications
You must be signed in to change notification settings - Fork 73
Expand file tree
/
Copy pathharness-docker-compose.yml
More file actions
45 lines (41 loc) · 1.31 KB
/
harness-docker-compose.yml
File metadata and controls
45 lines (41 loc) · 1.31 KB
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
version: '3'
services:
irods-catalog:
build:
context: irods_catalog_${irods_major}
# 5432 is exposed by default and can conflict with other postgres containers.
# When the metalnx-db service is no longer needed, this stanza can be removed.
ports:
- "5430:5432"
environment:
- POSTGRES_PASSWORD=testpassword
python-client:
build:
context: python_client
args:
python_version: ${python_version}
command:
tail -f /dev/null
volumes:
- ${repo_external}:/repo_root:ro
- /tmp/irods-client-share.py-${python_version}:/irods_shared
depends_on:
irods-catalog-provider:
condition: service_healthy
irods-catalog-provider:
volumes:
- /tmp/irods-client-share.py-${python_version}:/irods_shared
build:
context: irods_catalog_provider_${irods_major}
args:
irods_version: ${irods_version}
shm_size: 500mb
healthcheck:
test: ["CMD", "su", "-", "irods", "-c", "ils || exit 1"]
interval: 10s
timeout: 10s
retries: 3
ports:
- "1247:1247"
depends_on:
- irods-catalog