Extend MySQL healthcheck start_period to 180s

The in-place upgrade from MySQL 8.0 to 8.4 took ~90s, longer than the
previous 30s start_period plus retries, so Compose marked the db unhealthy
and never started the API. The healthcheck still passes as soon as MySQL
is ready, so normal startups are not slowed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
derekcandClaude Opus 5.5 committed 2026-10-27 23:17:42 -07:00
1 parent 2382289484
commit 896be8fbe9
1 file changed
+1 -1
+1 -1
View File
@@ -30,7 +30,7 @@ services:
interval: 10s interval: 10s
timeout: 5s timeout: 5s
retries: 5 retries: 5
start_period: 30s start_period: 180s # allow time for one-time data upgrades after a MySQL version bump
networks: networks:
- backend - backend