31d3a0d5044b2d445cefceae30897e0db229cbb5
[arvados.git] / tools / salt-install / config_examples / single_host / single_hostname / pillars / arvados.sls
1 ---
2 # Copyright (C) The Arvados Authors. All rights reserved.
3 #
4 # SPDX-License-Identifier: AGPL-3.0
5
6 # The variables commented out are the default values that the formula uses.
7 # The uncommented values are REQUIRED values. If you don't set them, running
8 # this formula will fail.
9 arvados:
10   ### GENERAL CONFIG
11   version: '__VERSION__'
12   ## It makes little sense to disable this flag, but you can, if you want :)
13   # use_upstream_repo: true
14
15   ## Repo URL is built with grains values. If desired, it can be completely
16   ## overwritten with the pillar parameter 'repo_url'
17   # repo:
18   #   humanname: Arvados Official Repository
19
20   release: __RELEASE__
21
22   ## IMPORTANT!!!!!
23   ## api, workbench and shell require some gems, so you need to make sure ruby
24   ## and deps are installed in order to install and compile the gems.
25   ## We default to `false` in these two variables as it's expected you already
26   ## manage OS packages with some other tool and you don't want us messing up
27   ## with your setup.
28   ruby:
29     ## We set these to `true` here for testing purposes.
30     ## They both default to `false`.
31     manage_ruby: true
32     manage_gems_deps: true
33     # pkg: ruby
34     # gems_deps:
35     #     - curl
36     #     - g++
37     #     - gcc
38     #     - git
39     #     - libcurl4
40     #     - libcurl4-gnutls-dev
41     #     - libpq-dev
42     #     - libxml2
43     #     - libxml2-dev
44     #     - make
45     #     - python3-dev
46     #     - ruby-dev
47     #     - zlib1g-dev
48
49   # config:
50   #   file: /etc/arvados/config.yml
51   #   user: root
52   ## IMPORTANT!!!!!
53   ## If you're intalling any of the rails apps (api, workbench), the group
54   ## should be set to that of the web server, usually `www-data`
55   #   group: root
56   #   mode: 640
57
58   ### ARVADOS CLUSTER CONFIG
59   cluster:
60     name: __CLUSTER__
61     domain: __DOMAIN__
62
63     database:
64       # max concurrent connections per arvados server daemon
65       # connection_pool_max: 32
66       name: arvados
67       host: 127.0.0.1
68       password: changeme_arvados
69       user: arvados
70       encoding: en_US.utf8
71       client_encoding: UTF8
72
73     tls:
74       # certificate: ''
75       # key: ''
76       # required to test with arvados-snakeoil certs
77       insecure: true
78
79     ### TOKENS
80     tokens:
81       system_root: __SYSTEM_ROOT_TOKEN__
82       management: __MANAGEMENT_TOKEN__
83       anonymous_user: __ANONYMOUS_USER_TOKEN__
84
85     ### KEYS
86     secrets:
87       blob_signing_key: __BLOB_SIGNING_KEY__
88       workbench_secret_key: __WORKBENCH_SECRET_KEY__
89
90     Login:
91       Test:
92         Enable: true
93         Users:
94           __INITIAL_USER__:
95             Email: __INITIAL_USER_EMAIL__
96             Password: __INITIAL_USER_PASSWORD__
97
98     ### VOLUMES
99     ## This should usually match all your `keepstore` instances
100     Volumes:
101       # the volume name will be composed with
102       # <cluster>-nyw5e-<volume>
103       __CLUSTER__-nyw5e-000000000000000:
104         AccessViaHosts:
105           'http://__HOSTNAME_INT__:25107':
106             ReadOnly: false
107         Replication: 2
108         Driver: Directory
109         DriverParameters:
110           Root: /tmp
111
112     Users:
113       NewUsersAreActive: true
114       AutoAdminFirstUser: true
115       AutoSetupNewUsers: true
116       AutoSetupNewUsersWithRepository: true
117
118     Services:
119       Controller:
120         ExternalURL: 'https://__HOSTNAME_EXT__:__CONTROLLER_EXT_SSL_PORT__'
121         InternalURLs:
122           'http://__HOSTNAME_INT__:8003': {}
123       Keepproxy:
124         ExternalURL: 'https://__HOSTNAME_EXT__:__KEEP_EXT_SSL_PORT__'
125         InternalURLs:
126           'http://__HOSTNAME_INT__:25100': {}
127       Keepstore:
128         InternalURLs:
129           'http://__HOSTNAME_INT__:25107': {}
130       RailsAPI:
131         InternalURLs:
132           'http://__HOSTNAME_INT__:8004': {}
133       WebDAV:
134         ExternalURL: 'https://__HOSTNAME_EXT__:__KEEPWEB_EXT_SSL_PORT__'
135         InternalURLs:
136           'http://__HOSTNAME_INT__:9003': {}
137       WebDAVDownload:
138         ExternalURL: 'https://__HOSTNAME_EXT__:__KEEPWEB_EXT_SSL_PORT__'
139       WebShell:
140         ExternalURL: 'https://__HOSTNAME_EXT__:__WEBSHELL_EXT_SSL_PORT__'
141       Websocket:
142         ExternalURL: 'wss://__HOSTNAME_EXT__:__WEBSOCKET_EXT_SSL_PORT__/websocket'
143         InternalURLs:
144           'http://__HOSTNAME_INT__:8005': {}
145       Workbench1:
146         ExternalURL: 'https://__HOSTNAME_EXT__:__WORKBENCH1_EXT_SSL_PORT__'
147       Workbench2:
148         ExternalURL: 'https://__HOSTNAME_EXT__:__WORKBENCH2_EXT_SSL_PORT__'