# 5. Section in application.default.yml called "common"
development:
+ # Mandatory site secrets. See application.default.yml for more info.
+ secret_token: ~
+ blob_signing_key: ~
production:
- # At minimum, you need a nice long randomly generated secret_token here.
+ # Mandatory site secrets. See application.default.yml for more info.
secret_token: ~
-
+ blob_signing_key: ~
uuid_prefix: bogus
- # This is suitable for AWS; see common section below for a static example.
- compute_node_nameservers: <%=
- require 'net/http'
- ['local', 'public'].collect do |iface|
- Net::HTTP.get(URI("http://169.254.169.254/latest/meta-data/#{iface}-ipv4")).match(/^[\d\.]+$/)[0]
- end << '172.16.0.23'
- %>
- # You must customize these. See config.defaults.yml for information.
- compute_node_ami: ~
- compute_node_ec2_tag_enable: ~
- compute_node_domain: ~
- compute_node_spot_bid: ~
-
test:
- uuid_prefix: zzzzz
+ # Tests should be able to run without further configuration, but if you do
+ # want to change your local test configuration, this is where to do it.
common:
- secret_token: ~
- compute_node_nameservers:
- - 192.168.0.1
- - 172.16.0.1
+ # Settings in this section will be used in all environments
+ # (development, production, test) except when overridden in the
+ # environment-specific sections above.