We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3d580d commit f37bd68Copy full SHA for f37bd68
docker-compose.yaml
@@ -12,7 +12,7 @@ services:
12
networks:
13
- app-net
14
healthcheck:
15
- test: ["CMD", "curl", "-f", "http://localhost:3004/health"]
+ test: ["CMD", "python", "-c", "import urllib.request; exit(0) if urllib.request.urlopen('http://localhost:3004/health').getcode() == 200 else exit(1)"]
16
interval: 10s
17
timeout: 5s
18
retries: 5
0 commit comments