add new version bundle SymfonyHealthCheckBundle config (#1341)

* add new version bundle SymfonyHealthCheckBundle config

* add new version bundle SymfonyHealthCheckBundle config
This commit is contained in:
Yozhef
2022-01-18 20:33:33 +02:00
committed by GitHub
parent d04335a0a5
commit bfaa2af2e8
4 changed files with 34 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
symfony_health_check:
health_checks:
- id: symfony_health_check.status_up_check
ping_checks:
- id: symfony_health_check.status_up_check

View File

@@ -0,0 +1,2 @@
health_check:
resource: '@SymfonyHealthCheckBundle/Resources/config/routes.xml'

View File

@@ -0,0 +1,8 @@
{
"bundles": {
"SymfonyHealthCheckBundle\\SymfonyHealthCheckBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}

View File

@@ -0,0 +1,19 @@
<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
ping:
pattern: ^/ping
security: false
</>
* <fg=blue>Read</> the documentation at <comment>https://github.com/MacPaw/symfony-health-check-bundle</>
* <fg=blue>Read</> the upgrade documentation at <comment>https://github.com/MacPaw/symfony-health-check-bundle/blob/develop/UPGRADE-1.0.md</>