Add healthcheck endpoint for web (#11770)
This commit is contained in:
parent
e445a8af64
commit
d7268befa8
6 changed files with 15 additions and 3 deletions
6
config/initializers/health_check.rb
Normal file
6
config/initializers/health_check.rb
Normal file
|
@ -0,0 +1,6 @@
|
|||
HealthCheck.setup do |config|
|
||||
config.uri = 'health'
|
||||
|
||||
config.standard_checks = %w(database migrations cache)
|
||||
config.full_checks = %w(database migrations cache)
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue