-
Notifications
You must be signed in to change notification settings - Fork 52
/
Copy pathprovision.yaml
117 lines (113 loc) · 4.2 KB
/
provision.yaml
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
---
# The provision script can take a yaml file with provision options
# This is a dictionary of command-line arguments for the provisioning script
# If force is True, set all settings even if they are already set. This may
# also be a list of settings keys to force. It does not change the admin user
# or the default assetstore if those already exist. If False, settings are
# only added or modified if they do not exist or are the default value.
force: False
samples: False
clean-delete-locks: True
sample-collection: Samples
sample-folder: Images
# Set use-defaults to False to skip default settings
use-defaults: True
# Set mongo_compat to False to not automatically set the mongo feature
# compatibility version to the current server version.
mongo-compat: True
# A list of additional pip modules to install; if any are girder plugins with
# client-side code, also specify rebuild-client.
# pip:
# - girder-oauth
# - girder-ldap
# rebuild-client may be False, True (for production mode), or "development"
rebuild-client: False
# Run additional shell commands before start
# shell:
# - ls
# Default admin user if there are no admin users
admin:
login: admin
password: password
firstName: Admin
lastName: Admin
email: admin@nowhere.nil
public: True
# Default assetstore if there are no assetstores
assetstore:
method: createFilesystemAssetstore
name: Assetstore
root: /assetstore
# Any resources to ensure exist. A model must be specified. This creates the
# resource if there is no match for all specified values other than metadata
# and attrs. A value of "resource:<path>" is converted to the resource
# document with that resource path. "resourceid:<path>" is the string id for
# the resource path, "resourceobjid:<path>" is the Mongo object id for the
# resource path. A <path> of "admin" uses the default admin user. A <path> of
# the form "assetstore/<name>" references the named assetstore.
# You can add metadata to a resource. The default key is meta. If
# metadata_update is False, metadata will not be set if any metadata
# already exists.
# You can alter the core model of a resource using the attrs key. If the
# resource already exists, this will only be applied if attrs_update is True.
resources:
- model: collection
name: Tasks
creator: resource:admin
public: True
- model: folder
parent: resource:collection/Tasks
parentType: collection
name: "Slicer CLI Web Tasks"
creator: resource:admin
public: True
# metadata:
# sample_key: sample_value
# metadata_key: meta
# metadata_update: True
# attrs:
# quota:
# preferredAssetstore: resource:assetstore/Assetstore
# attrs_update: True
settings:
worker.broker: "amqp://guest:guest@rabbitmq"
worker.backend: "rpc://guest:guest@rabbitmq"
worker.api_url: "http://girder:8080/api/v1"
worker.direct_path: True
core.brand_name: "Digital Slide Archive"
# core.http_only_cookies: True
histomicsui.webroot_path: "histomics"
histomicsui.alternate_webroot_path: "histomicstk"
histomicsui.delete_annotations_after_ingest: True
homepage.markdown: |-
# Digital Slide Archive
---
## Bioinformatics Platform
Welcome to the **Digital Slide Archive**.
Developers who want to use the Girder REST API should check out the
[interactive web API docs](api/v1).
The [HistomicsUI](histomics) application is enabled.
slicer_cli_web.task_folder: "resourceid:collection/Tasks/Slicer CLI Web Tasks"
# List slicer-cli-images to pull, if not present, and load
# slicer-cli-image:
# - dsarchive/histomicstk:latest
# List slicer-cli-images to always pull, and load
slicer-cli-image-pull:
- dsarchive/histomicstk:latest
# The worker can specify parameters for provisioning
# worker-rabbitmq-host: girder:8080
worker-rabbitmq-user: guest
worker-rabbitmq-pass: guest
worker-config: /opt/girder_worker/girder_worker/worker.local.cfg
# These have precedence over the top level values
worker:
# rabbitmq-host: girder:8080
# rabbitmq-user: guest
# rabbitmq-pass: guest
# config: /opt/girder_worker/girder_worker/worker.local.cfg
# Install additional pip packages in the worker
# pip:
# - package_one
# Run additional shell commands in the worker before start
# shell:
# - ls