c6ee58afc52aa708f0f95363543e3cc6aae5d490
[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   host: api.dev.arvados
23
24   # At minimum, you need a nice long randomly generated secret_token here.
25   # Use a long string of alphanumeric characters (at least 36).
26   secret_token: @@API_SECRET@@
27
28   # blob_signing_key is required and must be identical to the
29   # permission secret provisioned to Keep.
30   # Use a long string of alphanumeric characters (at least 36).
31   blob_signing_key: @@KEEP_SIGNING_SECRET@@
32
33   uuid_prefix: @@API_HOSTNAME@@
34
35   # The e-mail address of the user you would like to become marked as an admin
36   # user on their first login.
37   # In the default configuration, authentication happens through the Arvados SSO
38   # server, which uses openid against Google's servers, so in that case this
39   # should be an address associated with a Google account.
40   auto_admin_user: @@API_AUTO_ADMIN_USER@@
41
42   # compute_node_domain: example.org
43   # compute_node_nameservers:
44   #   - 127.0.0.1
45   #   - 192.168.1.1
46   #
47   permit_create_collection_with_unsigned_manifest: true
48   git_repositories_dir: /home/git/repositories
49   crunch_job_wrapper: :slurm_immediate
50   action_mailer.raise_delivery_errors: false
51   action_mailer.perform_deliveries: false
52
53   workbench_address: @@API_WORKBENCH_ADDRESS@@
54
55   auto_setup_new_users: true
56
57   auto_admin_first_user: true
58
59 test:
60   uuid_prefix: zzzzz
61   secret_token: <%= rand(2**512).to_s(36) %>
62
63 common:
64   #git_repositories_dir: /var/cache/git
65   #git_internal_dir: /var/cache/arvados/internal.git