feat(deploy): v9 Quant Engine production deployment infrastructure #7

Merged
kjh2064 merged 24 commits from feature/dotnet-migration into main 2026-06-25 18:27:40 +09:00
2 changed files with 6 additions and 2 deletions
Showing only changes of commit 5bdbf17686 - Show all commits
+2 -1
View File
@@ -10,7 +10,8 @@ builder.Services.AddRazorComponents()
.AddInteractiveServerComponents();
// PostgreSQL Dapper Setup
var connectionString = "Host=178.104.200.7;Database=giteadb;Username=gitea;Password=C8RFlZ9fdQrBA1vyLhLDS4v70I8dJfRS2ERJW4+zsS4=;Search Path=quantengine;";
var connectionString = builder.Configuration.GetConnectionString("DefaultConnection")
?? "Host=127.0.0.1;Database=giteadb;Username=gitea;Password=C8RFlZ9fdQrBA1vyLhLDS4v70I8dJfRS2ERJW4+zsS4=;Search Path=quantengine;";
builder.Services.AddSingleton<IDbConnectionFactory>(new DbConnectionFactory(connectionString));
builder.Services.AddScoped<IWorkspaceRepository, WorkspaceRepository>();
builder.Services.AddHttpClient();
+4 -1
View File
@@ -5,5 +5,8 @@
"Microsoft.AspNetCore": "Warning"
}
},
"AllowedHosts": "*"
"AllowedHosts": "*",
"ConnectionStrings": {
"DefaultConnection": "Host=127.0.0.1;Database=giteadb;Username=gitea;Password=C8RFlZ9fdQrBA1vyLhLDS4v70I8dJfRS2ERJW4+zsS4=;Search Path=quantengine;"
}
}