add new bundle SymfonyHealthCheckBundle

This commit is contained in:
Yozhef
2021-05-11 20:46:34 +03:00
parent c89a55c344
commit 970c6efe6c
4 changed files with 28 additions and 0 deletions
@@ -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</>