A ChRIS configuration file is a YAML file which describes the state of a ChRIS system.
Not all fields are required. Most of them can be guessed or inferred.
Information about the ChRIS system.
Type: User
Admin user of ChRIS backend, i.e. user who is able to register plugins to ChRIS.
Type: list[string]
Default: [https://cube.chrisproject.org/api/v1/]
Specify public instance(s) of ChRIS stores from where to get plugins from.
ChRIS backend description.
Type: list[User]
Type: list[ComputeResource]
Type: list[string | Plugin]
If value is a string, then it may represent any of: peer CUBE plugin url, plugin name, image tag, code repository URL.
Type: str
A peer CUBE plugin URL, e.g. https://cube.chrisproject.org/api/v1/plugins/99/
Type: str
Container image manifest, e.g. docker.io/fnndsc/pl-dircopy:latest
Type: str
URL of a source code repository, e.g. https://github.com/FNNDSC/pl-dircopy
Type: list[str]
Names of which compute environments to register this plugin to.
If unspecified, use cube.compute_resource[0].
Type: list[string | Pipeline]
If an element of cube.pipelines
is a string, then it is interpreted as a
PipelineSource.
A PipelineSource
is one of:
-
A ChRIS store pipeline, e.g.
https://cube.chrisproject.org/api/v1/pipelines/1/
-
A URI (starting with
http://
,https://
,ipfs://
, …) of a JSON pipeline description. -
A path on the local filesystem to a JSON pipeline description.
The JSON pipeline description may specify its plugin_tree
as either a
serialized string or an object.
Type: str
Username of ChRIS user defined in cube.users which owns this pipeline.
If not specified, then the default is cube.users[0]
.