Spaces:
Running
Running
muralipala1504 commited on
Commit ·
0775387
1
Parent(s): 9fd7e86
fix: Docker Compose healthcheck using python3 urllib instead of curl/wget
Browse files- docker-compose.yml +1 -1
docker-compose.yml
CHANGED
|
@@ -9,7 +9,7 @@ services:
|
|
| 9 |
- LT_LOAD_ONLY=en,hi
|
| 10 |
- LT_UPDATE_MODELS=false
|
| 11 |
healthcheck:
|
| 12 |
-
test: ["CMD-SHELL", "
|
| 13 |
interval: 30s
|
| 14 |
timeout: 10s
|
| 15 |
retries: 5
|
|
|
|
| 9 |
- LT_LOAD_ONLY=en,hi
|
| 10 |
- LT_UPDATE_MODELS=false
|
| 11 |
healthcheck:
|
| 12 |
+
test: ["CMD-SHELL", "python3 -c \"import urllib.request; urllib.request.urlopen('http://localhost:5000/health')\""]
|
| 13 |
interval: 30s
|
| 14 |
timeout: 10s
|
| 15 |
retries: 5
|