-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
49 lines (47 loc) · 1.59 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
services:
lapis:
image: ghcr.io/genspectrum/lapis:${LAPIS_TAG}
ports:
- ${LAPIS_PORT}:8080
command: --silo.url=http://silo:8081
volumes:
- type: bind
source: ${TESTSET_DATA_FOLDER}/database_config.yaml
target: /workspace/database_config.yaml
read_only: true
- type: bind
source: ${TESTSET_DATA_FOLDER}/reference_genomes.json
target: /workspace/reference_genomes.json
read_only: true
stop_grace_period: 0s
silo:
image: ghcr.io/genspectrum/lapis-silo:${SILO_TAG}
ports:
- ${SILO_PORT}:8081
command: api
volumes:
- type: bind
source: ${TESTSET_OUTPUT_FOLDER}/
target: /data
read_only: true
depends_on:
siloPreprocessing:
condition: service_completed_successfully
stop_grace_period: 0s
siloPreprocessing:
image: ghcr.io/genspectrum/lapis-silo:${SILO_TAG}
command: preprocessing
volumes:
- type: bind
source: ${TESTSET_OUTPUT_FOLDER}/
target: /preprocessing/output
read_only: false
- type: bind
source: ${TESTSET_DATA_FOLDER}/
target: /preprocessing/input
read_only: false
- type: bind
source: ${TESTSET_DATA_FOLDER}/preprocessing_config.yaml
target: /app/preprocessing_config.yaml
read_only: true
stop_grace_period: 0s