-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
41 lines (32 loc) · 1.42 KB
/
.env.example
File metadata and controls
41 lines (32 loc) · 1.42 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
# Radiarch TPS — Environment Configuration
# Copy to .env and adjust values for your deployment.
# ---- Core ----
RADIARCH_ENVIRONMENT=production # "dev" = Celery eager mode; "production" = async workers
RADIARCH_FORCE_SYNTHETIC=false # "true" = skip OpenTPS/MCsquare, use synthetic planner
# ---- Database ----
# Empty = InMemoryStore (dev/tests only)
# sqlite:///./radiarch.db = local SQLite
# postgresql+psycopg://user:pass@host:5432/db = production
RADIARCH_DATABASE_URL=postgresql+psycopg://radiarch:radiarch@postgres:5432/radiarch
# ---- Celery / Redis ----
RADIARCH_BROKER_URL=redis://redis:6379/0
RADIARCH_RESULT_BACKEND=redis://redis:6379/1
# ---- Orthanc / PACS ----
RADIARCH_ORTHANC_BASE_URL=http://orthanc:8042
RADIARCH_ORTHANC_USE_MOCK=false
# RADIARCH_ORTHANC_USERNAME=
# RADIARCH_ORTHANC_PASSWORD=
# ---- DICOMweb STOW-RS (artifact push; empty = disabled) ----
RADIARCH_DICOMWEB_URL=http://orthanc:8042/dicom-web
# RADIARCH_DICOMWEB_USERNAME=
# RADIARCH_DICOMWEB_PASSWORD=
# ---- Artifacts ----
RADIARCH_ARTIFACT_DIR=/data/artifacts
# ---- Sessions ----
RADIARCH_SESSION_TTL=3600
# ---- OpenTPS (only needed if FORCE_SYNTHETIC=false) ----
# RADIARCH_OPENTPS_DATA_ROOT=/data/opentps/testData
# RADIARCH_OPENTPS_BEAM_LIBRARY=/data/opentps/beam-models
# Note: opentps_core is vendored in service/opentps/ — no VENV path needed
# ---- CORS ----
# RADIARCH_CORS_ORIGINS=["http://localhost:3000","http://localhost:8042"]