CloWM Workflow Service
Description
This is the Workflow service of the CloWM service.
Environment Variables
Mandatory / Recommended Variables
Variable | Default | Value | Description |
---|---|---|---|
PUBLIC_KEY_VALUE / PUBLIC_KEY_FILE
|
randomly generated | Public Key / Path to Public Key | Public part of RSA Key in PEM format to verify JWTs |
DB_HOST |
unset | <db hostname / IP> | IP or Hostname Adress of DB |
DB_PORT |
3306 | Number | Port of the database |
DB_USER |
unset | <db username> | Username of the database user |
DB_PASSWORD |
unset | <db password> | Password of the database user |
DB_DATABASE |
unset | <db name> | Name of the database |
OBJECT_GATEWAY_URI |
unset | HTTP URL | HTTP URL of the Ceph Object Gateway |
CEPH_ACCESS_KEY |
unset | <access key> | Ceph access key with admin privileges |
CEPH_SECRET_KEY |
unset | <secret key> | Ceph secret key with admin privileges |
AUTHZ_ENDPOINT |
unset | HTTP URL | HTTP URL to ask the Auth Service for Authorization |
SLURM_ENDPOINT |
unset | HTTP URL | HTTP URL to communicate with the Slurm cluster |
SLURM_TOKEN |
unset | <JWT> | JWT for communication with the Slurm REST API. Should belong to the user of the SLURM_USER
|
Optional Variables
Variable | Default | Value | Description |
---|---|---|---|
API_PREFIX |
/api/workflow-service |
URL path | Prefix before every URL path |
BACKEND_CORS_ORIGINS |
[] |
json formatted list of urls | List of valid CORS origins |
SQLALCHEMY_VERBOSE_LOGGER |
False |
<"True"|"False"> |
Enables verbose SQL output. Should be false in production |
NXF_CONFIG_BUCKET |
nxf-config |
Bucket Name | Bucket where the nextflow configurations for each execution should be saved |
WORKFLOW_BUCKET |
clowm-workflows |
Bucket Name | Bucket where to save important workflow files |
ICON_BUCKET |
clowm-icons |
Bucket name | Bucket where to save workflow icons. Should be publicly available. |
SLURM_USER |
slurm |
string | User on the slurm cluster who should run the job. Should be the user of the SLURM_TOKEN
|
SLURM_SHARED_DIR |
/vol/spool/clowm-workflows |
Path on slurm cluster | Shared directory on the cluster where the nextflow jobs will be executed. |
CONFIG_BUCKET_MOUNT_PATH |
/mnt/config-bucket |
Path on slurm cluster | Folder where the S3 bucket NFX_CONFIG_BUCKET will be mounted on the slurm cluster |
ACTIVE_WORKFLOW_EXECUTION_LIMIT |
3 |
Integer | Limit of active workflow execution a user is allowed to have. -1 means infinite. |
DEV_SYSTEM |
False |
<"True"|"False"> |
Activates an endpoint that allows execution of an workflow from an arbitrary Git Repository. HAS TO BE False in PRODUCTION! |