X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/ef35b37af2b60cce2b5d7668874ba4cabaf4482e..94a62edb315ec297a02fb6c9a2016bcaa17fac9b:/services/api/config/application.yml.example diff --git a/services/api/config/application.yml.example b/services/api/config/application.yml.example index c48308d093..6c6ff15cd9 100644 --- a/services/api/config/application.yml.example +++ b/services/api/config/application.yml.example @@ -1,3 +1,7 @@ +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 + # Copy this file to application.yml and edit to suit. # # Consult application.default.yml for the full list of configuration @@ -10,32 +14,39 @@ # 4. Section in application.default.yml corresponding to RAILS_ENV # 5. Section in application.default.yml called "common" -development: - production: - # At minimum, you need a nice long randomly generated secret_token here. + # Mandatory site configuration. See application.default.yml and + # http://http://doc.arvados.org/install/install-api-server.html#configure_application + # for more information. + uuid_prefix: ~ secret_token: ~ + blob_signing_key: ~ + sso_app_secret: ~ + sso_app_id: ~ + sso_provider_url: ~ + workbench_address: ~ + websocket_address: ~ + #git_repositories_dir: ~ + #git_internal_dir: ~ - 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 application.default.yml for information. - compute_node_ami: ~ - compute_node_ec2_tag_enable: ~ - compute_node_domain: ~ - compute_node_spot_bid: ~ +development: + # Separate settings for development configuration. + uuid_prefix: ~ + secret_token: ~ + blob_signing_key: ~ + sso_app_id: ~ + sso_app_secret: ~ + sso_provider_url: ~ + workbench_address: ~ + websocket_address: ~ + #git_repositories_dir: ~ + #git_internal_dir: ~ 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.