X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/7cf55dce1df774d2c3daa3e54c0d4f27c38d4b11..b2979b0db0b6b5ee7ad3001ffcc8f76ff4d96f05:/services/api/config/application.yml.example diff --git a/services/api/config/application.yml.example b/services/api/config/application.yml.example index 3035c8ba04..2705fa1a74 100644 --- a/services/api/config/application.yml.example +++ b/services/api/config/application.yml.example @@ -13,25 +13,36 @@ development: production: + # At minimum, you need a nice long randomly generated secret_token here. + secret_token: ~ + uuid_prefix: bogus - # This is suitable for AWS; see common section below for a static example. - compute_node_nameservers: <%= + # compute_node_domain: example.org + # compute_node_nameservers: + # - 127.0.0.1 + # - 192.168.1.1 + # + # The version below is suitable for AWS. + # Uncomment and change <%# to <%= to use it. + # 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 + secret_token: <%= rand(2**512).to_s(36) %> common: - compute_node_nameservers: - - 192.168.0.1 - - 172.16.0.1 + #git_repositories_dir: /var/cache/git + #git_internal_dir: /var/cache/arvados/internal.git + + # You can run the websocket server separately from the regular HTTP service + # by setting "ARVADOS_WEBSOCKETS=ws-only" in the environment before running + # the websocket server. When you do this, you need to set the following + # configuration variable so that the primary server can give out the correct + # address of the dedicated websocket server: + #websocket_address: wss://websocket.local/websocket