-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
46 lines (37 loc) · 1.63 KB
/
.env.example
File metadata and controls
46 lines (37 loc) · 1.63 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
# ModelSEED API Configuration
# Copy this to .env and customize paths for your system.
# All variables use the MODELSEED_ prefix.
# Service
MODELSEED_HOST=0.0.0.0
MODELSEED_PORT=8000
MODELSEED_DEBUG=false
MODELSEED_CORS_ORIGINS=["*"]
# Storage backend: "workspace" (PATRIC) or "local" (filesystem)
# Use "local" for offline development without a PATRIC account.
MODELSEED_STORAGE_BACKEND=workspace
MODELSEED_LOCAL_DATA_DIR=~/.modelseed/data
# PATRIC Workspace Service (only used when STORAGE_BACKEND=workspace)
MODELSEED_WORKSPACE_URL=https://p3.theseed.org/services/Workspace
MODELSEED_WORKSPACE_TIMEOUT=1800
# Shock file storage
MODELSEED_SHOCK_URL=https://p3.theseed.org/services/shock_api
# Workspace paths (public media and PlantSEED data)
MODELSEED_PUBLIC_MEDIA_PATH=/chenry/public/modelsupport/media
MODELSEED_PUBLIC_PLANTS_PATH=/plantseed/plantseed/
# Local data paths (adjust to where you cloned the repos)
MODELSEED_MODELSEED_DB_PATH=/path/to/ModelSEEDDatabase
MODELSEED_TEMPLATES_PATH=/path/to/ModelSEEDTemplates/templates/v7.0
MODELSEED_CB_ANNOTATION_ONTOLOGY_API_PATH=/path/to/cb_annotation_ontology_api
# Job configuration
MODELSEED_JOB_STORE_DIR=/tmp/modelseed-jobs
MODELSEED_JOB_SCRIPTS_DIR=src/job_scripts
# RAST legacy database (optional — leave empty to disable /api/rast endpoints)
MODELSEED_RAST_DB_HOST=
MODELSEED_RAST_DB_PORT=3306
MODELSEED_RAST_DB_USER=
MODELSEED_RAST_DB_PASSWORD=
MODELSEED_RAST_DB_NAME=RastProdJobCache
# Celery (set to true to use bioseed Redis scheduler in production)
MODELSEED_USE_CELERY=false
MODELSEED_CELERY_BROKER_URL=redis://bioseed_redis:6379/10
MODELSEED_CELERY_RESULT_BACKEND=redis://bioseed_redis:6379/10