fix: increase Docmost health check retries to 30 (5 min total)
Some checks failed
CI/CD / deploy (push) Failing after 13m46s
CI/CD / syntax-check (push) Successful in 59s

First deploy needs time for DB migrations and initial setup.
30×10s = 300s gives enough buffer for cold start.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
jack 2026-03-27 09:48:25 +07:00
parent 29ba8a64ba
commit 9f85988c1f

View file

@ -145,6 +145,6 @@
ansible.builtin.command: docker exec docmost wget -qO- http://127.0.0.1:3000/api/health ansible.builtin.command: docker exec docmost wget -qO- http://127.0.0.1:3000/api/health
register: docmost_health register: docmost_health
changed_when: false changed_when: false
retries: 15 retries: 30
delay: 10 delay: 10
until: docmost_health.rc == 0 until: docmost_health.rc == 0