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"
16 # At minimum, you need a nice long randomly generated secret_token here.
21 # compute_node_domain: example.org
22 # compute_node_nameservers:
26 # The version below is suitable for AWS.
27 # Uncomment and change <%# to <%= to use it.
28 # compute_node_nameservers: <%#
30 ['local', 'public'].collect do |iface|
31 Net::HTTP.get(URI("http://169.254.169.254/latest/meta-data/#{iface}-ipv4")).match(/^[\d\.]+$/)[0]
37 secret_token: <%= rand(2**512).to_s(36) %>
40 #git_repositories_dir: /var/cache/git
41 #git_internal_dir: /var/cache/arvados/internal.git