13996: Don't force check for GitInternalDir, breaks tests
[arvados.git] / services / api / config / application.default.yml
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4
5 # Do not use this file for site configuration. Create application.yml
6 # instead (see application.yml.example).
7 #
8 # The order of precedence is:
9 # 1. config/environments/{RAILS_ENV}.rb (deprecated)
10 # 2. Section in application.yml corresponding to RAILS_ENV (e.g., development)
11 # 3. Section in application.yml called "common"
12 # 4. Section in application.default.yml corresponding to RAILS_ENV
13 # 5. Section in application.default.yml called "common"
14
15 common:
16
17   ## Set Time.zone default to the specified zone and make Active
18   ## Record auto-convert to this zone.  Run "rake -D time" for a list
19   ## of tasks for finding time zone names. Default is UTC.
20   #time_zone: Central Time (US & Canada)
21
22   ## Default encoding used in templates for Ruby 1.9.
23   encoding: utf-8
24
25   # Enable the asset pipeline
26   assets.enabled: true
27
28   # Version of your assets, change this if you want to expire all your assets
29   assets.version: "1.0"
30
31   default_openid_prefix: https://www.google.com/accounts/o8/id
32
33   # Override the automatic version string. With the default value of
34   # false, the version string is read from git-commit.version in
35   # Rails.root (included in vendor packages) or determined by invoking
36   # "git log".
37   source_version: false
38
39   # Override the automatic package version string. With the default version of
40   # false, the package version is read from package-build.version in Rails.root
41   # (included in vendor packages).
42   package_version: false
43
44 development:
45   force_ssl: false
46   cache_classes: false
47   whiny_nils: true
48   consider_all_requests_local: true
49   action_controller.perform_caching: false
50   action_mailer.raise_delivery_errors: false
51   action_mailer.perform_deliveries: false
52   active_support.deprecation: :log
53   action_dispatch.best_standards_support: :builtin
54   active_record.auto_explain_threshold_in_seconds: 0.5
55   assets.compress: false
56   assets.debug: true
57
58 production:
59   force_ssl: true
60   cache_classes: true
61   consider_all_requests_local: false
62   action_controller.perform_caching: true
63   public_file_server:
64     enabled: false
65   assets.compress: true
66   assets.compile: false
67   assets.digest: true
68
69 test:
70   force_ssl: false
71   cache_classes: true
72   public_file_server:
73     enabled: true
74     headers:
75       'Cache-Control': public, max-age=3600
76   whiny_nils: true
77   consider_all_requests_local: true
78   action_controller.perform_caching: false
79   action_dispatch.show_exceptions: false
80   action_controller.allow_forgery_protection: false
81   action_mailer.delivery_method: :test
82   active_support.deprecation: :stderr
83   uuid_prefix: zzzzz
84   sso_app_id: arvados-server
85   sso_app_secret: <%= rand(2**512).to_s(36) %>
86   sso_provider_url: http://localhost:3002
87   secret_token: <%= rand(2**512).to_s(36) %>
88   blob_signing_key: zfhgfenhffzltr9dixws36j1yhksjoll2grmku38mi7yxd66h5j4q9w4jzanezacp8s6q0ro3hxakfye02152hncy6zml2ed0uc
89   user_profile_notification_address: arvados@example.com
90   workbench_address: https://localhost:3001/
91   git_repositories_dir: <%= Rails.root.join 'tmp', 'git', 'test' %>
92   git_internal_dir: <%= Rails.root.join 'tmp', 'internal.git' %>
93   websocket_address: "wss://0.0.0.0:<%= ENV['ARVADOS_TEST_WSS_PORT'] %>/websocket"
94   trash_sweep_interval: -1
95   docker_image_formats: ["v1"]