Skip to content

Commit 12c664a

Browse files
exaby73transistive
authored andcommitted
feat: Add health check to service container
1 parent 029b00a commit 12c664a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/tests.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,13 @@ jobs:
4646
services:
4747
neo4j:
4848
image: neo4j:5.22
49+
options: >-
50+
--hostname neo4j
51+
--health-cmd "wget -q --method=HEAD http://localhost:7474 || exit 1"
52+
--health-start-period "60s"
53+
--health-interval "30s"
54+
--health-timeout "15s"
55+
--health-retries "5"
4956
ports:
5057
- 7474:7474
5158
- 7687:7687

0 commit comments

Comments
 (0)