forked from neicnordic/sda-pipeline
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose-sda.yml
94 lines (92 loc) · 2.14 KB
/
compose-sda.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
version: "2.4"
services:
certfixer:
command: sh -c "cp /origcerts/* /certs && chown -R nobody.nobody /certs/ && chmod -R og-rw /certs/"
container_name: certfixer
image: alpine:latest
volumes:
- ./certs:/origcerts
- certs:/certs
ingest:
command: sda-ingest
container_name: ingest
depends_on:
- certfixer
env_file: ./env.ingest
image: neicnordic/sda-pipeline:latest
volumes:
- ./config.yaml:/config.yaml
- ./:/dev_utils/
- archive:/tmp
- certs:/dev_utils/certs
mem_limit: 1024m
restart: always
verify:
command: sda-verify
container_name: verify
depends_on:
- certfixer
env_file: ./env.verify
image: neicnordic/sda-pipeline:latest
volumes:
- ./config.yaml:/config.yaml
- ./:/dev_utils/
- certs:/dev_utils/certs
- archive:/tmp
mem_limit: 256m
restart: always
finalize:
command: sda-finalize
container_name: finalize
depends_on:
- certfixer
env_file: ./env.finalize
image: neicnordic/sda-pipeline:latest
volumes:
- ./config.yaml:/config.yaml
- ./:/dev_utils/
- certs:/dev_utils/certs
mem_limit: 64m
restart: always
sync:
command: sda-sync
container_name: sync
depends_on:
- certfixer
env_file: ./env.sync
image: neicnordic/sda-pipeline:latest
volumes:
- ./config.yaml:/config.yaml
- ./:/dev_utils/
- certs:/dev_utils/certs
mem_limit: 64m
restart: always
mapper:
command: sda-mapper
container_name: mapper
depends_on:
- certfixer
env_file: ./env.mapper
image: neicnordic/sda-pipeline:latest
volumes:
- ./config.yaml:/config.yaml
- ./:/dev_utils/
- certs:/dev_utils/certs
mem_limit: 64m
restart: always
interceptor:
command: sda-intercept
container_name: intercept
depends_on:
- certfixer
env_file: ./env.intercept
image: neicnordic/sda-pipeline:latest
volumes:
- ./config.yaml:/config.yaml
- ./:/dev_utils/
- certs:/dev_utils/certs
mem_limit: 64m
restart: always
volumes:
archive:
certs: