-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcompose.yaml
More file actions
48 lines (46 loc) · 1.91 KB
/
compose.yaml
File metadata and controls
48 lines (46 loc) · 1.91 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
37
38
39
40
41
42
43
44
45
46
47
48
# ──────────────────────────────────────────────────────────────────────────────
# Just-DNA-Lite Compose File
#
# Usage:
# podman-compose up --build # Build and start
# podman-compose up -d # Start in background
# podman-compose down # Stop and remove
# podman-compose logs -f # Follow logs
#
# For docker:
# docker compose up --build
#
# Your VCF files and results:
# Put VCF files in: ./my_genomes/
# Find results in: ./my_results/
# Cache (Ensembl ~14GB, PRS scores) is persisted in a named volume.
# ──────────────────────────────────────────────────────────────────────────────
services:
just-dna-lite:
build:
context: .
dockerfile: Containerfile
ports:
- "3000:3000" # Web UI (Vite frontend)
- "3005:3005" # Dagster pipeline dashboard
- "8000:8000" # Backend API + websocket
volumes:
# Your VCF files — drop .vcf/.vcf.gz here, they appear in the upload list
- ./my_genomes:/app/data/input/users/default:rw
# Your results — reports, annotated parquets land here
- ./my_results:/app/data/output/users/default:rw
# Persistent cache & state (Ensembl, PRS, Dagster, modules config)
- just-dna-cache:/app/data/cache
- just-dna-state:/app/data/interim
environment:
- API_URL=${API_URL:-http://localhost:8000}
- JUST_DNA_PIPELINES_LOGIN=${JUST_DNA_PIPELINES_LOGIN:-none}
- HF_TOKEN=${HF_TOKEN:-}
- GEMINI_API_KEY=${GEMINI_API_KEY:-}
env_file:
- path: .env
required: false
restart: unless-stopped
volumes:
just-dna-cache:
just-dna-state: