about summary refs log tree commit diff
path: root/config/initializers/health_check.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/initializers/health_check.rb')
-rw-r--r--config/initializers/health_check.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/config/initializers/health_check.rb b/config/initializers/health_check.rb
new file mode 100644
index 000000000..6f1e78fed
--- /dev/null
+++ b/config/initializers/health_check.rb
@@ -0,0 +1,8 @@
+HealthCheck.setup do |config|
+  config.uri = 'health'
+
+  config.standard_checks = %w(database migrations cache)
+  config.full_checks = %w(database migrations cache)
+  
+  config.include_error_in_response_body = false
+end