Refactor code structure for improved readability and maintainability
This commit is contained in:
parent
f8d64e4e7d
commit
66f592ee2e
6 changed files with 19 additions and 14 deletions
|
|
@ -6,8 +6,8 @@ public class MinioOptions
|
|||
{
|
||||
public const string SectionName = "MinIO";
|
||||
|
||||
/// <summary>host:port ไม่รวม scheme (เช่น localhost:9000 หรือ minio:9000)</summary>
|
||||
public string Endpoint { get; set; } = "localhost:9000";
|
||||
/// <summary>host:port ไม่รวม scheme (เช่น localhost:39000 หรือ minio:9000)</summary>
|
||||
public string Endpoint { get; set; } = "localhost:39000";
|
||||
|
||||
public string AccessKey { get; set; } = string.Empty;
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
"//": "ค่า local dev ตรงกับ .env.example (docker compose) — ถ้าจะ override ด้วย env ใช้ตัวแปร เช่น MinIO__Endpoint, ConnectionStrings__Default, Authentication__Authority",
|
||||
|
||||
"ConnectionStrings": {
|
||||
"Default": "Host=localhost;Port=5432;Database=wordversioning;Username=wordversioning;Password=dev-local-pass"
|
||||
"Default": "Host=localhost;Port=35432;Database=wordversioning;Username=wordversioning;Password=dev-local-pass"
|
||||
},
|
||||
|
||||
"MinIO": {
|
||||
|
|
|
|||
|
|
@ -8,11 +8,11 @@
|
|||
"AllowedHosts": "*",
|
||||
|
||||
"ConnectionStrings": {
|
||||
"Default": "Host=localhost;Port=5432;Database=wordversioning;Username=wordversioning;Password="
|
||||
"Default": "Host=localhost;Port=35432;Database=wordversioning;Username=wordversioning;Password="
|
||||
},
|
||||
|
||||
"MinIO": {
|
||||
"Endpoint": "localhost:9000",
|
||||
"Endpoint": "localhost:39000",
|
||||
"AccessKey": "",
|
||||
"SecretKey": "",
|
||||
"UseSSL": false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue