Skip to content

Commit f37bd68

Browse files
kaifcoderCopilot
andauthored
Update docker-compose.yaml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent f3d580d commit f37bd68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ services:
1212
networks:
1313
- app-net
1414
healthcheck:
15-
test: ["CMD", "curl", "-f", "http://localhost:3004/health"]
15+
test: ["CMD", "python", "-c", "import urllib.request; exit(0) if urllib.request.urlopen('http://localhost:3004/health').getcode() == 200 else exit(1)"]
1616
interval: 10s
1717
timeout: 5s
1818
retries: 5

0 commit comments

Comments
 (0)