Refine health checks and add polling animation
This commit is contained in:
@@ -116,7 +116,7 @@ services:
|
||||
test:
|
||||
[
|
||||
"CMD-SHELL",
|
||||
"python -c \"import urllib.request; urllib.request.urlopen('http://127.0.0.1:8000/healthz').close()\"",
|
||||
"python -c \"import urllib.request; urllib.request.urlopen('http://127.0.0.1:8000/health/live').close()\"",
|
||||
]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
@@ -147,7 +147,7 @@ services:
|
||||
test:
|
||||
[
|
||||
"CMD-SHELL",
|
||||
"python -c \"import urllib.request; urllib.request.urlopen('http://127.0.0.1:8000/healthz').close()\"",
|
||||
"python -c \"import urllib.request; urllib.request.urlopen('http://127.0.0.1:8000/health/live').close()\"",
|
||||
]
|
||||
interval: 15s
|
||||
timeout: 5s
|
||||
|
||||
Reference in New Issue
Block a user