+1
-7
@@ -38,13 +38,7 @@ services:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
healthcheck:
|
||||
test:
|
||||
- CMD
|
||||
- python
|
||||
- -c
|
||||
- >-
|
||||
import urllib.request;
|
||||
urllib.request.urlopen('http://127.0.0.1:8001/health/ready', timeout=2)
|
||||
test: ["CMD", "curl", "-fsS", "http://127.0.0.1:8001/health/ready"]
|
||||
interval: 5s
|
||||
timeout: 3s
|
||||
retries: 12
|
||||
|
||||
Reference in New Issue
Block a user