Describe the bug
When deploying on Azure Container App Service, the Container Apps service injects a default health probe on containers where ingress is enabled. On first startup of the misp-web container, the "Persisting app files..." takes longer than the health probe allows, resulting in the container restarting before the app files have been persisted. The startup health probe can be disabled, but only after the initial deployment, which is too late.
To Reproduce
Steps to reproduce the behavior:
- Deploy on Azure Container Apps
- Container gets restarted before "Persisting app files..." has a chance to complete.
Expected behavior
If possible:
Start the misp-web web server quickly and perform expensive initialisation in the background, alternatively provide a readiness endpoint that can respond with a HTTP status code greater than or equal to 200 and less than 400 while initialisation takes place.
Screenshots
Docker Host:
Additional context
See the following documentation:
https://learn.microsoft.com/en-us/azure/container-apps/health-probes?tabs=arm-template
Describe the bug
When deploying on Azure Container App Service, the Container Apps service injects a default health probe on containers where ingress is enabled. On first startup of the misp-web container, the "Persisting app files..." takes longer than the health probe allows, resulting in the container restarting before the app files have been persisted. The startup health probe can be disabled, but only after the initial deployment, which is too late.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
If possible:
Start the misp-web web server quickly and perform expensive initialisation in the background, alternatively provide a readiness endpoint that can respond with a HTTP status code greater than or equal to 200 and less than 400 while initialisation takes place.
Screenshots
Docker Host:
Additional context
See the following documentation:
https://learn.microsoft.com/en-us/azure/container-apps/health-probes?tabs=arm-template