forked from mtusi2026/mtusi2026lab3
Миграции балансировка запросов идемпотентность graceful shutdown readines
This commit is contained in:
@@ -54,6 +54,12 @@ services:
|
||||
SERVER_SHUTDOWN: graceful
|
||||
deploy:
|
||||
replicas: 3
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "wget -q -O- http://127.0.0.1:8080/health/live || exit 1"]
|
||||
interval: 5s
|
||||
timeout: 3s
|
||||
retries: 3
|
||||
start_period: 40s
|
||||
|
||||
nginx:
|
||||
image: nginx:1.27-alpine
|
||||
|
||||
Reference in New Issue
Block a user