-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (35 loc) · 1.11 KB
/
Copy pathdocker-compose.yml
File metadata and controls
36 lines (35 loc) · 1.11 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
# Local development only. Production is deployed via the GitOps repo
# Rostlab/deploy-protspace-backend (doco-cd) behind the Caddy gateway.
# CORS and rate limiting are handled in-app, so there is no Caddy here.
services:
protspace-prep:
build:
context: .
dockerfile: apps/prep/Dockerfile
image: protspace-prep:local
restart: unless-stopped
environment:
PREP_JOB_ROOT: /var/lib/protspace-prep/jobs
PREP_MAX_CONCURRENT_JOBS: '5'
PREP_BUNDLE_TTL_SECONDS: '3600'
PREP_UPLOAD_MAX_BYTES: '8388608'
PREP_SEQUENCE_MIN_COUNT: '20'
PREP_SEQUENCE_MAX_COUNT: '1500'
PREP_SEQUENCE_MAX_RESIDUES: '2000'
PREP_EMBEDDER: prot_t5
PREP_METHODS: pca2,umap2
PREP_ANNOTATIONS: default
PREP_PIPELINE_TIMEOUT_SECONDS: '420'
CORS_ALLOWED_ORIGIN: http://localhost:8080
volumes:
- prep-jobs:/var/lib/protspace-prep/jobs
ports:
- '127.0.0.1:8000:8000'
healthcheck:
test: ['CMD', 'curl', '-fsS', 'http://localhost:8000/healthz']
interval: 30s
timeout: 5s
retries: 3
start_period: 20s
volumes:
prep-jobs: