Skip to content

Commit 9bf7457

Browse files
committed
fix(docker): update healthcheck command to use nc for service check
1 parent ffe00b7 commit 9bf7457

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ services:
8888
cms:
8989
condition: service_healthy
9090
healthcheck:
91-
test: ['CMD-SHELL', 'curl -f http://localhost:3000 || exit 1']
91+
test: ['CMD-SHELL', 'nc -z localhost 3000 || exit 1']
9292
interval: 30s
9393
timeout: 10s
9494
retries: 3

0 commit comments

Comments
 (0)