File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -325,6 +325,19 @@ sudo bash run.sh
325
325
# Set this to ' real' in the .env file for production environments.
326
326
APP_ENV=real
327
327
328
+ # This path is used for both internal and external health checks.
329
+ # Note: Do not include a leading slash ("/") at the start of the path.
330
+ # Example: "api/v1/health" (correct), "/api/v1/health" (incorrect)
331
+ APP_HEALTH_CHECK_PATH=api/v1/health
332
+
333
+ # The BAD & GOOD conditions are checked using an "AND" condition.
334
+ # To ignore the "BAD_APP_HEALTH_CHECK_PATTERN", set it to a non-existing value (e.g., "###lsdladc").
335
+ BAD_APP_HEALTH_CHECK_PATTERN=DOWN
336
+
337
+ # Pattern required for a successful health check.
338
+ GOOD_APP_HEALTH_CHECK_PATTERN=UP
339
+
340
+
328
341
# The ' real' setting requires defining ' DOCKER_COMPOSE_REAL_SELECTIVE_VOLUMES' .
329
342
DOCKER_COMPOSE_REAL_SELECTIVE_VOLUMES=["/my-host/files/:/in-container/files", "/my-host/java-spring-project/src/main/resources:/in-container/java-spring-project/src/main/resources"]
330
343
# Check if the host folder or file exists
You can’t perform that action at this time.
0 commit comments