Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial Framework Setup #2

Merged
merged 2 commits into from
Sep 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 50 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
services:
lapisOpen:
image: ghcr.io/genspectrum/lapis:${LAPIS_TAG}
ports:
- "8080: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

silo:
image: ghcr.io/genspectrum/lapis-silo:${SILO_TAG}
ports:
- "8081:8081"
command: --api
volumes:
- type: bind
source: ${TESTSET_OUTPUT_FOLDER}/
target: /data
read_only: true
depends_on:
siloPreprocessing:
condition: service_completed_successfully

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}/preprocessingConfig.yaml
target: /app/preprocessing_config.yaml
read_only: true
- type: bind
source: ${TESTSET_DATA_FOLDER}/database_config.yaml
target: /app/database_config.yaml
read_only: true
Loading