-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.override.yml-cadd
58 lines (52 loc) · 1.83 KB
/
docker-compose.override.yml-cadd
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
# Docker Compose Override YAML fragment that provides a CADD REST API
# # Server
#
# Quick Manual:
#
# - merge with docker-compose.override.yml
# - place data in the right place
# == Re-useable Definitions ==================================================
# Default service definition for all (incl. postgres/redis/...)
x-service-default: &service_default
networks:
- varfish
restart: unless-stopped
# == Overide Definitions =====================================================
services:
# -- CADD REST API ---------------------------------------------------------
#
# REST API server for CADD sequence variant annotation.
cadd-rest-api-server:
<<: *service_default
image: "${image_base-ghcr.io/varfish-org}/\
${image_cadd_name:-cadd-rest-api}:${image_cadd_version:-main}"
env_file: cadd-rest-api.env
command:
- wsgi
volumes:
- type: bind
source: ${volumes_basedir:-./.dev/volumes}/cadd-rest-api/db
target: /data/db
read_only: false
cadd-rest-api-worker:
<<: *service_default
deploy:
replicas: "${cadd_rest_api_worker_replicas:-5}"
image: "${image_base-ghcr.io/varfish-org}/\
${image_cadd_name:-cadd-rest-api}:${image_cadd_version:-main}"
env_file: cadd-rest-api.env
command:
- celeryd
volumes:
- type: bind
source: ${volumes_basedir:-./.dev/volumes}/cadd-rest-api/data/annotations
target: /opt/miniconda3/share/cadd-scripts-1.6.post1-0/data/annotations
read_only: true
- type: bind
source: ${volumes_basedir:-./.dev/volumes}/cadd-rest-api/data/prescored
target: /opt/miniconda3/share/cadd-scripts-1.6.post1-0/data/prescored
read_only: true
- type: bind
source: ${volumes_basedir:-./.dev/volumes}/cadd-rest-api/db
target: /data/db
read_only: false