1 # Copy this file to application.yml and edit to suit.
3 # Consult application.default.yml for the full list of configuration
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"
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.
22 # At minimum, you need a nice long randomly generated secret_token here.
23 # Use a long string of alphanumeric characters (at least 36).
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).
33 # compute_node_domain: example.org
34 # compute_node_nameservers:
38 # The version below is suitable for AWS.
39 # Uncomment and change <%# to <%= to use it.
40 # compute_node_nameservers: <%#
42 ['local', 'public'].collect do |iface|
43 Net::HTTP.get(URI("http://169.254.169.254/latest/meta-data/#{iface}-ipv4")).match(/^[\d\.]+$/)[0]
49 secret_token: <%= rand(2**512).to_s(36) %>
52 #git_repositories_dir: /var/cache/git
53 #git_internal_dir: /var/cache/arvados/internal.git