8000 fix: typesense healthcheck (#788) · laravel/sail@e569251 · GitHub
[go: up one dir, main page]

Skip to content

Commit e569251

Browse files
authored
fix: typesense healthcheck (#788)
1 parent 00cd196 commit e569251

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stubs/typesense.stub

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ typesense:
1111
networks:
1212
- sail
1313
healthcheck:
14-
test: ["CMD", "wget", "--no-verbose", "--spider", "http://localhost:8108/health"]
14+
test: [CMD, bash, -c, "exec 3<>/dev/tcp/localhost/8108 && printf 'GET /health HTTP/1.1\\r\\nConnection: close\\r\\n\\r\\n' >&3 && head -n1 <&3 | grep '200' && exec 3>&-"]
1515
retries: 5
1616
timeout: 7s

0 commit comments

Comments
 (0)
0