feat: add HAproxy and 2 api instances

This commit is contained in:
TAskMAster339
2026-10-10 13:20:58 +03:00
parent a856733fe9
commit 771951cad7
23 changed files with 742 additions and 213 deletions
-4
View File
@@ -52,10 +52,6 @@ func OpenDatabase(ctx context.Context) (*pgxpool.Pool, error) {
db.Close()
return nil, err
}
if err = RunMigrations(url, "up"); err != nil {
db.Close()
return nil, err
}
return db, nil
}