mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-11 15:16:55 +03:00
add new bundle SymfonyHealthCheckBundle
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
symfony_health_check:
|
||||
health_checks:
|
||||
- id: symfony_health_check.status_up_check
|
||||
@@ -0,0 +1,2 @@
|
||||
health_check:
|
||||
resource: '@SymfonyHealthCheckBundle/Resources/config/routes.xml'
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"bundles": {
|
||||
"SymfonyHealthCheckBundle\\SymfonyHealthCheckBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
<bg=blue;fg=white> </>
|
||||
<bg=blue;fg=white> Next: Symfony Health Check Bundle Configuration </>
|
||||
<bg=blue;fg=white> </>
|
||||
|
||||
*. Add healthcheck firewall to <fg=green>config/security.yaml</> file
|
||||
|
||||
<comment>
|
||||
security:
|
||||
firewalls:
|
||||
healthcheck:
|
||||
pattern: ^/health
|
||||
security: false
|
||||
</>
|
||||
|
||||
* <fg=blue>Read</> the documentation at <comment>https://github.com/MacPaw/symfony-health-check-bundle</>
|
||||
Reference in New Issue
Block a user