Save logs to a temp file and commit to Keep via 'arv keep put'. Refs #2221.
[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
15 production:
16   # At minimum, you need a nice long randomly generated secret_token here.
17   secret_token: ~
18
19   uuid_prefix: bogus
20
21   # This is suitable for AWS; see common section below for a static example.
22   compute_node_nameservers: <%=
23     require 'net/http'
24     ['local', 'public'].collect do |iface|
25       Net::HTTP.get(URI("http://169.254.169.254/latest/meta-data/#{iface}-ipv4")).match(/^[\d\.]+$/)[0]
26     end << '172.16.0.23'
27   %>
28   # You must customize these. See application.default.yml for information.
29   compute_node_ami: ~
30   compute_node_ec2_tag_enable: ~
31   compute_node_domain: ~
32   compute_node_spot_bid: ~
33
34 test:
35   uuid_prefix: zzzzz
36
37 common:
38   secret_token: ~
39   compute_node_nameservers:
40     - 192.168.0.1
41     - 172.16.0.1