infra/clusters
Graham McIntire ed2d43f36d
feat: Add migration init container to StatefulSet
- Add migration init container that runs before main app containers
- Ensures database migrations are applied on every deployment
- Includes all necessary environment variables for migration execution
- Disable AUTO_MIGRATE in main container since init container handles it
- Prevents race conditions by running migrations before cluster formation

This resolves issues where migrations weren't running in cluster mode
and ensures new deployments always have the latest schema changes.
2025-08-01 17:37:52 -05:00
..
aprs feat: Add migration init container to StatefulSet 2025-08-01 17:37:52 -05:00