Реализовать lab3 в общем Helm-релизе с Traefik, TLS и HPA

This commit is contained in:
Vladislav Agapov
2026-10-16 11:51:20 +03:00
parent a57cbcf329
commit 9494547300
88 changed files with 1922 additions and 255 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ func newDatabase(lifecycle fx.Lifecycle, cfg *config.Persistence) (*postgres.Sto
return nil, err
}
lifecycle.Append(fx.Hook{
OnStart: database.Start,
OnStart: database.CheckSchema,
OnStop: func(context.Context) error {
database.Close()
return nil