fix(config): RailsSessionSecretToken is deprecated
[arvados-formula.git] / pillar.example
1 # -*- coding: utf-8 -*-
2 # vim: ft=yaml
3 ---
4 # The variables commented out are the default values that the formula uses.
5 # The uncommented values are REQUIRED values. If you don't set them, running
6 # this formula will fail.
7 arvados:
8   ### GENERAL CONFIG
9   # version: '2.1.0'
10   # release: production
11   ## It makes little sense to disable this flag, but you can, if you want :)
12   # use_upstream_repo: true
13
14   ## Repo URL is built with grains values. If desired, it can be completely
15   ## overwritten with the pillar parameter 'repo_url'
16   # repo:
17   #   humanname: Arvados Official Repository
18
19   ## IMPORTANT!!!!!
20   ## api, workbench and shell require some gems, so you need to make sure ruby
21   ## and deps are installed in order to install and compile the gems.
22   ## We default to `false` in these two variables as it's expected you already
23   ## manage OS packages with some other tool and you don't want us messing up
24   ## with your setup.
25   ruby:
26     ## We set these to `true` here for testing purposes.
27     ## They both default to `false`.
28     manage_ruby: true
29     use_rvm: false     # If you want to use rvm. Defaults to true for centos-7
30     # pkg: ruby        # Can specify a version like ruby-2.5.7 for rvm
31     manage_gems_deps: true
32     # gems_deps:
33     #     - curl
34     #     - g++
35     #     - gcc
36     #     - git
37     #     - libcurl4
38     #     - libcurl4-gnutls-dev
39     #     - libpq-dev
40     #     - libxml2
41     #     - libxml2-dev
42     #     - make
43     #     - python3-dev
44     #     - ruby-dev
45     #     - zlib1g-dev
46
47   # config:
48   #   file: /etc/arvados/config.yml
49   #   user: root
50   ## IMPORTANT!!!!!
51   ## If you're intalling any of the rails apps (api, workbench), the group
52   ## should be set to that of the web server, usually `www-data`
53   #   group: root
54   #   mode: 640
55
56   ### ARVADOS CLUSTER CONFIG
57   cluster:
58     name: fixme
59     domain: example.net
60
61     database:
62       # max concurrent connections per arvados server daemon
63       # connection_pool_max: 32
64       name: arvados
65       host: 127.0.0.1
66       password: changeme_arvados
67       user: arvados
68       encoding: en_US.utf8
69       client_encoding: UTF8
70       # You can pass extra database connections parameters here,
71       # which will be rendered as yaml.
72       # extra_conn_params:
73       #  sslmode: prefer
74       #  verify-ca: false
75
76
77     tls:
78       # certificate: ''
79       # key: ''
80       # required to test with snakeoil certs
81       insecure: true
82
83     ### TOKENS
84     tokens:
85       # Secrets and tokens have to be +32 alphanumeric,
86       # it does not accept underscores or special characters.
87       # See https://dev.arvados.org/issues/17150
88       system_root: changemesystemroottoken
89       management: changememanagementtoken
90       anonymous_user: changemeanonymoususertoken
91
92     ### KEYS
93     secrets:
94       blob_signing_key: changemeblobsigningkey
95       workbench_secret_key: changemeworkbenchsecretkey
96       dispatcher_access_key: changemedispatcheraccesskey
97       dispatcher_secret_key: changemedispatchersecretkey
98       keep_access_key: changemekeepaccesskey
99       keep_secret_key: changemekeepsecretkey
100
101     AuditLogs:
102       Section_to_ignore:
103         - some_random_value
104
105     ### VOLUMES
106     ## This should usually match all your `keepstore` instances
107     Volumes:
108       # the volume name will be composed with
109       # <cluster>-nyw5e-<volume>
110       fixme-nyw5e-000000000000000:
111         AccessViaHosts:
112           http://keep0.fixme.example.net:25107:
113             ReadOnly: false
114         Replication: 2
115         Driver: Directory
116         DriverParameters:
117           Root: /tmp
118
119     Users:
120       NewUsersAreActive: true
121       AutoAdminFirstUser: true
122       AutoSetupNewUsers: true
123       AutoSetupNewUsersWithRepository: true
124
125     Services:
126       Controller:
127         ExternalURL: https://fixme.example.net
128         InternalURLs:
129           http://localhost:8003: {}
130       DispatchCloud:
131         InternalURLs:
132           http://fixme.example.net:9006: {}
133       Keepbalance:
134         InternalURLs:
135           http://fixme.example.net:9005: {}
136       Keepproxy:
137         ExternalURL: https://keep.fixme.example.net
138         InternalURLs:
139           http://localhost:25100: {}
140       Keepstore:
141         InternalURLs:
142           http://keep0.fixme.example.net:25107: {}
143       RailsAPI:
144         InternalURLs:
145           http://localhost:8004: {}
146       WebDAV:
147         ExternalURL: https://collections.fixme.example.net
148         InternalURLs:
149           http://localhost:9002: {}
150       WebDAVDownload:
151         ExternalURL: https://download.fixme.example.net
152       WebShell:
153         ExternalURL: https://webshell.fixme.example.net
154       Websocket:
155         ExternalURL: wss://ws.fixme.example.net/websocket
156         InternalURLs:
157           http://localhost:8005: {}
158       Workbench1:
159         ExternalURL: https://workbench.fixme.example.net
160       Workbench2:
161         ExternalURL: https://workbench2.fixme.example.net
162
163 #  ### THESE ARE THE PACKAGES AND DAEMONS BASIC CONFIGS
164 #  #### API
165 #   api:
166 #     pkg:
167 #       name:
168 #         - arvados-api-server
169 #         - arvados-dispatch-cloud
170 #     gem:
171 #       name:
172 #         - arvados-cli
173 #     service:
174 #       name:
175 #         - nginx
176 #       port: 8004
177 #  #### CONTROLLER
178 #   controller:
179 #     pkg:
180 #       name: arvados-controller
181 #     service:
182 #       name: arvados-controller
183 #       port: 8003
184 #  #### DISPATCHER
185 #   dispatcher:
186 #     pkg:
187 #       name:
188 #         - crunch-dispatch-local
189 #       #   - arvados-dispatch-cloud
190 #       #   - crunch-dispatch-slurm
191 #     service:
192 #       name: crunch-dispatch-local
193 #       port: 9006
194 #  #### KEEPPROXY
195 #   keepproxy:
196 #     pkg:
197 #       name: keepproxy
198 #     service:
199 #       name: keepproxy
200 #       port: 25107
201 #  #### KEEPWEB
202 #   keepweb:
203 #     pkg:
204 #       name: keep-web
205 #     service:
206 #       name: keep-web
207 #     #   webdav
208 #       port: 9002
209 #  #### KEEPSTORE
210 #   keepstore:
211 #     pkg:
212 #       name: keepstore
213 #     service:
214 #       name: keepstore
215 #       port: 25107
216 #  #### GIT-HTTPD
217 #   githttpd:
218 #     pkg:
219 #       name: arvados-git-httpd
220 #     service:
221 #       name: arvados-git-httpd
222 #       port: 9001
223 #  #### SHELL
224 #   shell:
225 #     pkg:
226 #       name:
227 #         - arvados-client
228 #         - arvados-src
229 #         - libpam-arvados-go
230 #         - python3-arvados-fuse
231 #         - python3-arvados-python-client
232 #         - python3-arvados-cwl-runner
233 #     gem:
234 #       name:
235 #         - arvados-cli
236 #         - arvados-login-sync
237 #     shellinabox:
238 #       config: /etc/default/shellinabox
239 #       service:
240 #         name: shellinabox
241 #         port: 4200
242 #     libpam_arvados:
243 #       config: /etc/pam.d/arvados
244 #  #### WORKBENCH
245 #   workbench:
246 #     pkg:
247 #       name: arvados-workbench
248 #     service:
249 #       name: nginx
250 #  #### WORKBENCH2
251 #   workbench2:
252 #     pkg:
253 #       name: arvados-workbench2
254 #     service:
255 #       name: nginx
256 #  ####  WEBSOCKET
257 #   websocket:
258 #     pkg:
259 #       name: arvados-ws
260 #     service:
261 #       name: arvados-ws
262 #       port: 8005
263 #  #### SSO
264 #   sso:
265 #     pkg:
266 #       name: arvados-sso
267 #     service:
268 #       name: arvados-sso
269 #       port: 8900
270
271 #  ## SALTSTACK FORMULAS TOFS configuration
272 #   https://template-formula.readthedocs.io/en/latest/TOFS_pattern.html
273 #   tofs:
274 #   #    The files_switch key serves as a selector for alternative
275 #   #    directories under the formula files directory. See TOFS pattern
276 #   #    doc for more info.
277 #   #    Note: Any value not evaluated by `config.get` will be used literally.
278 #   #    This can be used to set custom paths, as many levels deep as required.
279 #     files_switch:
280 #       - any/path/can/be/used/here
281 #       - id
282 #       - roles
283 #       - osfinger
284 #       - os
285 #       - os_family
286 #   #    All aspects of path/file resolution are customisable using the options below.
287 #   #    This is unnecessary in most cases; there are sensible defaults.
288 #   #    Default path: salt://< path_prefix >/< dirs.files >/< dirs.default >
289 #   #            I.e.: salt://arvados/files/default
290 #   #    path_prefix: template_alt
291 #   #    dirs:
292 #   #      files: files_alt
293 #   #      default: default_alt
294 #   #    The entries under `source_files` are prepended to the default source files
295 #   #    given for the state
296 #   #    source_files:
297 #   #      arvados-config-file-file-managed:
298 #   #        - 'example_alt.tmpl'
299 #   #        - 'example_alt.tmpl.jinja'