feat: Update connection strings and JWT settings in appsettings files
- Modified connection strings in appsettings.json for membership and storage services to use the new database host and credentials. - Updated Redis configuration with new host, port, and authentication details. - Changed JWT secret key to enhance security and updated issuer and audience settings for consistency across services.
This commit is contained in:
@@ -15,5 +15,23 @@
|
||||
"System": "Information"
|
||||
}
|
||||
}
|
||||
},
|
||||
"ConnectionStrings": {
|
||||
"DefaultConnection": "Host=ep-holy-glitter-a4hongg7-pooler.us-east-1.aws.neon.tech;Port=5432;Database=membership_service;Username=neondb_owner;Password=npg_Ssfy6HKO0cXI;SSL Mode=Require"
|
||||
},
|
||||
"Redis": {
|
||||
"Host": "167.114.174.113",
|
||||
"Port": 6379,
|
||||
"Password": "Velik@2026",
|
||||
"Database": 0,
|
||||
"ConnectTimeout": 5000,
|
||||
"SyncTimeout": 5000
|
||||
},
|
||||
"Jwt": {
|
||||
"Secret": "goodgo-iam-service-secret-key-32chars!",
|
||||
"Issuer": "goodgo-platform",
|
||||
"Audience": "goodgo-services",
|
||||
"AccessTokenExpiryMinutes": 15,
|
||||
"RefreshTokenExpiryDays": 7
|
||||
}
|
||||
}
|
||||
@@ -30,13 +30,18 @@
|
||||
]
|
||||
},
|
||||
"ConnectionStrings": {
|
||||
"DefaultConnection": "Host=localhost;Port=5432;Database=myservice_db;Username=postgres;Password=postgres"
|
||||
"DefaultConnection": "Host=ep-holy-glitter-a4hongg7-pooler.us-east-1.aws.neon.tech;Port=5432;Database=membership_service;Username=neondb_owner;Password=npg_Ssfy6HKO0cXI;SSL Mode=Require"
|
||||
},
|
||||
"Redis": {
|
||||
"ConnectionString": "localhost:6379"
|
||||
"Host": "167.114.174.113",
|
||||
"Port": 6379,
|
||||
"Password": "Velik@2026",
|
||||
"Database": 0,
|
||||
"ConnectTimeout": 5000,
|
||||
"SyncTimeout": 5000
|
||||
},
|
||||
"Jwt": {
|
||||
"Secret": "your-super-secret-key-min-32-characters",
|
||||
"Secret": "goodgo-iam-service-secret-key-32chars!",
|
||||
"Issuer": "goodgo-platform",
|
||||
"Audience": "goodgo-services",
|
||||
"AccessTokenExpiryMinutes": 15,
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
]
|
||||
},
|
||||
"ConnectionStrings": {
|
||||
"DefaultConnection": "Host=localhost;Port=5432;Database=myservice_db;Username=postgres;Password=postgres"
|
||||
"DefaultConnection": "Host=ep-holy-glitter-a4hongg7-pooler.us-east-1.aws.neon.tech;Port=5432;Database=storage_service;Username=neondb_owner;Password=npg_Ssfy6HKO0cXI;SSL Mode=Require"
|
||||
},
|
||||
"Storage": {
|
||||
"Provider": "minio",
|
||||
|
||||
Reference in New Issue
Block a user