Merge branch '12167-workbench-request-id'
[arvados.git] / apps / workbench / config / application.yml.example
index 5db52ed92519830b27d641ea40c31cf499d21281..85df228f4855f755da2bf13fca31b6f85c689a0d 100644 (file)
@@ -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
 # 4. Section in application.default.yml corresponding to RAILS_ENV
 # 5. Section in application.default.yml called "common"
 
-common:
+development:
   # At minimum, you need a nice long randomly generated secret_token here.
   secret_token: ~
 
   # You probably also want to point to your API server.
-  arvados_login_base: https://arvados.local:3000/login
-  arvados_v1_base: https://arvados.local:3000/arvados/v1
+  arvados_login_base: https://arvados.local:3030/login
+  arvados_v1_base: https://arvados.local:3030/arvados/v1
   arvados_insecure_https: true
 
-test:
-  # When you run the Workbench's integration tests, it starts the API server
-  # as a dependency.  These settings should match the API server's Rails
-  # defaults.  If you adjust those, change these settings to match.
-  arvados_login_base: https://localhost:3001/login
-  arvados_v1_base: https://localhost:3001/arvados/v1
-  arvados_insecure_https: true
+  # You need to configure at least one of these:
+  keep_web_url: false
+  keep_web_download_url: false
+
+production:
+  # At minimum, you need a nice long randomly generated secret_token here.
+  secret_token: ~
+
+  # You probably also want to point to your API server.
+  arvados_login_base: https://arvados.local:3030/login
+  arvados_v1_base: https://arvados.local:3030/arvados/v1
+  arvados_insecure_https: false
+
+  # You need to configure at least one of these:
+  keep_web_url: false
+  keep_web_download_url: false