feat: finish Douyin production readiness flow
This commit is contained in:
@@ -27,6 +27,18 @@ services:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
networks: [control]
|
||||
healthcheck:
|
||||
test:
|
||||
- CMD
|
||||
- python3
|
||||
- -c
|
||||
- >-
|
||||
import urllib.request; urllib.request.urlopen(
|
||||
'http://127.0.0.1:8080/readyz', timeout=2
|
||||
)
|
||||
interval: 2s
|
||||
timeout: 3s
|
||||
retries: 15
|
||||
restart: unless-stopped
|
||||
|
||||
postgres:
|
||||
|
||||
Reference in New Issue
Block a user