2755: add support to arv-put for signed manifests.
[arvados.git] / services / api / config / application.yml.example
1 # Copy this file to application.yml and edit to suit.
2 #
3 # Consult application.default.yml for the full list of configuration
4 # settings.
5 #
6 # The order of precedence is:
7 # 1. config/environments/{RAILS_ENV}.rb (deprecated)
8 # 2. Section in application.yml corresponding to RAILS_ENV (e.g., development)
9 # 3. Section in application.yml called "common"
10 # 4. Section in application.default.yml corresponding to RAILS_ENV
11 # 5. Section in application.default.yml called "common"
12
13 development:
14   # The blob_signing_key is a string of alphanumeric characters used
15   # to sign permission hints for Keep locators. It must be identical
16   # to the permission key given to Keep.  If you run both apiserver
17   # and Keep in development, change this to a hardcoded string and
18   # make sure both systems use the same value.
19   blob_signing_key: ~
20
21 production:
22   # At minimum, you need a nice long randomly generated secret_token here.
23   # Use a long string of alphanumeric characters (at least 36).
24   secret_token: ~
25
26   # blob_signing_key is required and must be identical to the
27   # permission secret provisioned to Keep.
28   # Use a long string of alphanumeric characters (at least 36).
29   blob_signing_key: ~
30
31   uuid_prefix: bogus
32
33   # compute_node_domain: example.org
34   # compute_node_nameservers:
35   #   - 127.0.0.1
36   #   - 192.168.1.1
37   #
38   # The version below is suitable for AWS.
39   # Uncomment and change <%# to <%= to use it.
40   # compute_node_nameservers: <%#
41   #   require 'net/http'
42   #   ['local', 'public'].collect do |iface|
43   #     Net::HTTP.get(URI("http://169.254.169.254/latest/meta-data/#{iface}-ipv4")).match(/^[\d\.]+$/)[0]
44   #   end << '172.16.0.23'
45   # %>
46
47 test:
48   uuid_prefix: zzzzz
49   secret_token: <%= rand(2**512).to_s(36) %>
50
51 common:
52   #git_repositories_dir: /var/cache/git
53   #git_internal_dir: /var/cache/arvados/internal.git
54