ЛР 4 — БВТ2303 — Вейнмайер — на 5 #56

Closed
Weinmaier_Andrew wants to merge 11 commits from Weinmaier_Andrew/mtusi2026lab4:solution/bvt2303-weinmaier into main
Showing only changes of commit 3b403cc352 - Show all commits
+7 -2
View File
@@ -174,9 +174,14 @@ services:
entrypoint: ["/app/reconcile", "--apply", "--interval", "${RECONCILE_INTERVAL:-10m}", "--grace", "${RECONCILE_GRACE:-1h}"]
environment: *api-env
secrets: [database_url, s3_access_key_id, s3_secret_access_key]
# HTTP не обслуживает: HEALTHCHECK образа API к нему не относится.
# HTTP не обслуживает, поэтому вместо HEALTHCHECK образа API — проверка, что
# процесс reconcile жив (нужна и для docker compose up --wait).
healthcheck:
disable: true
test: ["CMD-SHELL", "pgrep -x reconcile >/dev/null || pidof reconcile >/dev/null"]
interval: 10s
timeout: 3s
retries: 3
start_period: 5s
depends_on:
migrate:
condition: service_completed_successfully