Bundle health check recipe

This commit is contained in:
Jonathan Vuillemin
2020-06-25 12:03:40 +02:00
parent 0ef851843d
commit 84b08f1704
4 changed files with 22 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
health_check_check:
resource: '@HealthCheckBundle/Resources/config/routing/health_check_check.yaml'
health_check_ping:
resource: '@HealthCheckBundle/Resources/config/routing/health_check_ping.yaml'

View File

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

View File

@@ -0,0 +1,7 @@
<bg=blue;fg=white> </>
<bg=blue;fg=white> Next: Health check bundle configuration </>
<bg=blue;fg=white> </>
* <fg=blue>Configure</> health check and ping routes in file <fg=green>config/routes/health_check.yaml</>
* <fg=blue>Read</> the documentation at <comment>https://github.com/oat-sa/bundle-health-check</>

View File

@@ -1,6 +1,6 @@
<bg=blue;fg=white> </>
<bg=blue;fg=white> </>
<bg=blue;fg=white> Next: LTI 1.3 bundle configuration </>
<bg=blue;fg=white> </>
<bg=blue;fg=white> </>
* <fg=blue>Create</> development keys: <comment>mkdir -p config/secrets/dev && openssl genrsa -out config/secrets/dev/private.key 2048 && openssl rsa -in config/secrets/dev/private.key -outform PEM -pubout -out config/secrets/dev/public.key</>