Add 'apps/arv-web/' from commit 'f9732ad8460d013c2f28363655d0d1b91894dca5'
[arvados.git] / docker / api / application.yml.in
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   # The blob_signing_key is a string of alphanumeric characters used
15   # to sign permission hints for Keep locators. It must be identical
16   # to the permission key given to Keep.  If you run both apiserver
17   # and Keep in development, change this to a hardcoded string and
18   # make sure both systems use the same value.
19   blob_signing_key: ~
20
21 production:
22   # At minimum, you need a nice long randomly generated secret_token here.
23   # Use a long string of alphanumeric characters (at least 36).
24   secret_token: @@API_SECRET@@
25
26   # blob_signing_key is required and must be identical to the
27   # permission secret provisioned to Keep.
28   # Use a long string of alphanumeric characters (at least 36).
29   blob_signing_key: @@KEEP_SIGNING_SECRET@@
30
31   uuid_prefix: @@API_HOSTNAME@@
32
33   # The e-mail address of the user you would like to become marked as an admin
34   # user on their first login.
35   # In the default configuration, authentication happens through the Arvados SSO
36   # server, which uses openid against Google's servers, so in that case this
37   # should be an address associated with a Google account.
38   auto_admin_user: @@API_AUTO_ADMIN_USER@@
39
40   # compute_node_domain: example.org
41   # compute_node_nameservers:
42   #   - 127.0.0.1
43   #   - 192.168.1.1
44   #
45   # The version below is suitable for AWS.
46   # Uncomment and change <%# to <%= to use it.
47   # compute_node_nameservers: <%#
48   #   require 'net/http'
49   #   ['local', 'public'].collect do |iface|
50   #     Net::HTTP.get(URI("http://169.254.169.254/latest/meta-data/#{iface}-ipv4")).match(/^[\d\.]+$/)[0]
51   #   end << '172.16.0.23'
52   # %>
53   permit_create_collection_with_unsigned_manifest: true
54   git_repositories_dir: /home/git/repositories
55   crunch_job_wrapper: :slurm_immediate
56   action_mailer.raise_delivery_errors: false
57   action_mailer.perform_deliveries: false
58
59   workbench_address: @@API_WORKBENCH_ADDRESS@@
60
61   auto_setup_new_users: true
62
63   auto_admin_first_user: true
64
65 test:
66   uuid_prefix: zzzzz
67   secret_token: <%= rand(2**512).to_s(36) %>
68
69 common:
70   #git_repositories_dir: /var/cache/git
71   #git_internal_dir: /var/cache/arvados/internal.git
72