Skip to content

Commit

Permalink
ci: use health check in alternate port test
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyTubongbanua committed Sep 12, 2023
1 parent 01cafbd commit e71bbfc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ services:
depends_on:
- image-runtime-local
healthcheck:
test: ["CMD", "grep", "-Eq", "monitor started for @", "/atsign/err.txt"]
test: grep -Eq "monitor started for @" /atsign/all.txt
start_period: 10s # Wait 10 seconds before checking
interval: 5s # Check every 5 seconds
timeout: 1s # If a check takes longer than a second, consider it a failed check
Expand Down

0 comments on commit e71bbfc

Please sign in to comment.