docs(single_host): fix hostnames and tests
[arvados-formula.git] / test / salt / pillar / arvados_dev.sls
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.0.4'
10   ## It makes little sense to disable this flag, but you can, if you want :)
11   # use_upstream_repo: true
12
13   ## Repo URL is built with grains values. If desired, it can be completely
14   ## overwritten with the pillar parameter 'repo_url'
15   # repo:
16   #   humanname: Arvados Official Repository
17
18   release: development
19
20   ## IMPORTANT!!!!!
21   ## api, workbench and shell require some gems, so you need to make sure ruby
22   ## and deps are installed in order to install and compile the gems.
23   ## We default to `false` in these two variables as it's expected you already
24   ## manage OS packages with some other tool and you don't want us messing up
25   ## with your setup.
26   ruby:
27     ## We set these to `true` here for testing purposes.
28     ## They both default to `false`.
29     manage_ruby: true
30     manage_gems_deps: true
31     # pkg: ruby
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
71     tls:
72       # certificate: ''
73       # key: ''
74       # required to test with snakeoil certs
75       insecure: true
76
77     ### TOKENS
78     tokens:
79       system_root: changemesystemroottoken
80       management: changememanagementtoken
81       rails_secret: changemerailssecrettoken
82       anonymous_user: changemeanonymoususertoken
83
84     ### KEYS
85     secrets:
86       blob_signing_key: changemeblobsigningkey
87       workbench_secret_key: changemeworkbenchsecretkey
88       dispatcher_access_key: changemedispatcheraccesskey
89       dispatcher_secret_key: changemedispatchersecretkey
90       keep_access_key: changemekeepaccesskey
91       keep_secret_key: changemekeepsecretkey
92
93     AuditLogs:
94       Section_to_ignore:
95         - some_random_value
96
97     ### VOLUMES
98     ## This should usually match all your `keepstore` instances
99     Volumes:
100       # the volume name will be composed with
101       # <cluster>-nyw5e-<volume>
102       fixme-nyw5e-000000000000000:
103         AccessViaHosts:
104           http://keep0.fixme.example.net:25107:
105             ReadOnly: false
106         Replication: 2
107         Driver: Directory
108         DriverParameters:
109           Root: /tmp
110
111     Users:
112       NewUsersAreActive: true
113       AutoAdminFirstUser: true
114       AutoSetupNewUsers: true
115       AutoSetupNewUsersWithRepository: true
116
117     Services:
118       Controller:
119         ExternalURL: https://fixme.example.net
120         InternalURLs:
121           http://controller.internal:8003: {}
122       DispatchCloud:
123         InternalURLs:
124           http://fixme.example.net:9006: {}
125       Keepbalance:
126         InternalURLs:
127           http://fixme.example.net:9005: {}
128       Keepproxy:
129         ExternalURL: https://keep.fixme.example.net
130         InternalURLs:
131           http://keep.internal:25100: {}
132       Keepstore:
133         InternalURLs:
134           http://keep0.fixme.example.net:25107: {}
135       RailsAPI:
136         InternalURLs:
137           http://api.internal:8004: {}
138       WebDAV:
139         ExternalURL: https://collections.fixme.example.net
140         InternalURLs:
141           http://collections.internal:9002: {}
142       WebDAVDownload:
143         ExternalURL: https://download.fixme.example.net
144       WebShell:
145         ExternalURL: https://webshell.fixme.example.net
146       Websocket:
147         ExternalURL: wss://ws.fixme.example.net/websocket
148         InternalURLs:
149           http://ws.internal:8005: {}
150       Workbench1:
151         ExternalURL: https://workbench.fixme.example.net
152       Workbench2:
153         ExternalURL: https://workbench2.fixme.example.net