update appSettings + comment mqtt service

This commit is contained in:
Thomas Fransolet 2025-06-06 11:42:45 +02:00
parent 104d968739
commit 81f50664b4
6 changed files with 51 additions and 10 deletions

View File

@ -24,6 +24,11 @@
</ItemGroup>
<ItemGroup>
<Content Update="appsettings.MyMuseum.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
<Content Update="appsettings.PreProduction.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>

View File

@ -138,7 +138,7 @@ namespace ManagerService
});
#if RELEASE
services.AddMqttClientHostedService();
//services.AddMqttClientHostedService();
#endif
services.AddScoped(typeof(ProfileLogic));
services.AddScoped<TokensService>();

View File

@ -8,6 +8,15 @@
//"TabletDb": "mongodb://admin:MyInfoMate2023!@135.125.232.116:27017" //PROD MyInfoMate
"PostgresConnection": "Host=localhost;Database=my_info_mate;Username=mym;Password=mym"
},
"BrokerHostSettings": {
"Host": "localhost",
"Port": 1883
},
"ClientSettings": {
"Id": "ManagerService-3-dev",
"UserName": "user1", //admin
"Password": "MyInfoMate2023!" //mdlf2021!
},
"Logging": {
"LogLevel": {
"Default": "Information",

View File

@ -0,0 +1,27 @@
{
"ConnectionStrings": {
//"TabletDb": "mongodb://admin:MioTech4ever!@localhost:27017" //DEV
//"TabletDb": "mongodb://admin:MioTech4ever!@localhost:27017", //PROD - Thomas
//"TabletDb": "mongodb://admin:MioTech4ever!@192.168.31.140:27017" //PROD - Thomas
//"TabletDb": "mongodb://admin:mdlf2021!@localhost:27017" //PROD MDLF
"TabletDb": "mongodb://admin:MyMuseum2022!@51.77.222.154:27017", //PROD MyMuseum
//"TabletDb": "mongodb://admin:MyInfoMate2023!@135.125.232.116:27017" //PROD MyInfoMate
"PostgresConnection": "Host=51.77.222.154;Database=my_info_mate;Username=mym;Password=mym"
},
"BrokerHostSettings": {
"Host": "51.77.222.154",
"Port": 1883
},
"ClientSettings": {
"Id": "ManagerService-3-mymuseum",
"UserName": "user1", //admin
"Password": "MyInfoMate2023!" //mdlf2021!
},
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
}
}

View File

@ -8,6 +8,15 @@
//"TabletDb": "mongodb://admin:MyInfoMate2023!@135.125.232.116:27017" //PROD MyInfoMate
"PostgresConnection": "Host=postgres;Database=my_info_mate;Username=mym;Password=mym"
},
"BrokerHostSettings": {
"Host": "localhost",
"Port": 1883
},
"ClientSettings": {
"Id": "ManagerService-3-preprod",
"UserName": "user1", //admin
"Password": "MyInfoMate2023!" //mdlf2021!
},
"Logging": {
"LogLevel": {
"Default": "Information",

View File

@ -28,15 +28,6 @@
"IdType": "Name",
"TokenExpiryInHours": 2
},
"BrokerHostSettings": {
"Host": "localhost",
"Port": 1883
},
"ClientSettings": {
"Id": "ManagerService",
"UserName": "user1", //admin
"Password": "MyInfoMate2023!" //mdlf2021!
},
"SupportedLanguages": [ "FR", "NL", "EN", "DE", "IT", "ES", "PL", "CN", "AR", "UK" ],
"OpenWeatherApiKey": "d489973b4c09ddc5fb56bd7b9270bbef"
//"Urls": "http://[::]:80"