From dd5455d80ac11e72e7938f432d0a22cd99b47b16 Mon Sep 17 00:00:00 2001 From: SamSys Date: Mon, 5 Jan 2026 19:58:54 +0330 Subject: [PATCH] ignore apsettings --- .gitignore | 2 + ServiceHost/appsettings.Development.json | 71 ------------------------ ServiceHost/appsettings.json | 54 ------------------ 3 files changed, 2 insertions(+), 125 deletions(-) delete mode 100644 ServiceHost/appsettings.Development.json delete mode 100644 ServiceHost/appsettings.json diff --git a/.gitignore b/.gitignore index 674512f1..aa9d4d68 100644 --- a/.gitignore +++ b/.gitignore @@ -362,3 +362,5 @@ MigrationBackup/ # # Fody - auto-generated XML schema # FodyWeavers.xsd .idea +/ServiceHost/appsettings.Development.json +/ServiceHost/appsettings.json diff --git a/ServiceHost/appsettings.Development.json b/ServiceHost/appsettings.Development.json deleted file mode 100644 index d892b51d..00000000 --- a/ServiceHost/appsettings.Development.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "DetailedErrors": true, - "Logging": { - "LogLevel": { - "Default": "Information", - "Microsoft": "Warning", - "Microsoft.Hosting.Lifetime": "Information" - } - }, - "ConnectionStrings": { - //تست - //"MesbahDb": "Data Source=DESKTOP-NUE119G\\MSNEW;Initial Catalog=Mesbah_db;Integrated Security=True" - - //server - "MesbahDbServer": "Data Source=171.22.24.15;Initial Catalog=mesbah_db;Persist Security Info=False;User ID=ir_db;Password=R2rNp[170]18[3019]#@ATt;TrustServerCertificate=true;", - - //local - "MesbahDb": "Data Source=.;Initial Catalog=mesbah_db;Integrated Security=True;TrustServerCertificate=true;", - - //server - //"MesbahDb": "Data Source=185.208.175.186;Initial Catalog=mesbah_db;Persist Security Info=False;User ID=ir_db;Password=R2rNp[170]18[3019]#@ATt;TrustServerCertificate=true;", - - //dad-mehr - //"MesbahDb": "Data Source=.;Initial Catalog=teamWork;Integrated Security=True;TrustServerCertificate=true;", - - "TestDb": "Data Source=.;Initial Catalog=TestDb;Integrated Security=True;TrustServerCertificate=true;", - - //program_manager_db - "ProgramManagerDb": "Data Source=.;Initial Catalog=program_manager_db;Integrated Security=True;TrustServerCertificate=true;", - //"ProgramManagerDb": "Data Source=185.208.175.186;Initial Catalog=program_manager_db;Persist Security Info=False;User ID=ir_db;Password=R2rNp[170]18[3019]#@ATt;TrustServerCertificate=true;" - "ProgramManagerDbServer": "Data Source=171.22.24.15;Initial Catalog=program_manager_db;Persist Security Info=False;User ID=ir_db;Password=R2rNp[170]18[3019]#@ATt;TrustServerCertificate=true;" - //mahan Docker - //"MesbahDb": "Data Source=localhost,5069;Initial Catalog=mesbah_db;User ID=sa;Password=YourPassword123;TrustServerCertificate=True;" - }, - - "GoogleRecaptchaV3": { - "SiteKey": "6Lfhp_AnAAAAAB79WkrMoHd1k8ir4m8VvfjE7FTH", - "SecretKey": "6Lfhp_AnAAAAANjDDY6DPrbbUQS7k6ZCRmrVP5Lb" - }, - "SmsSecrets": { - "ApiKey": "Og5M562igmzJRhQPnq0GdtieYdLgtfikjzxOmeQBPxJjZtyge5Klc046Lfw1mxSa", - "SecretKey": "dadmehr" - }, - "Domain": ".dadmehrg.ir", - "MongoDb": { - "ConnectionString": "mongodb://localhost:27017", - "DatabaseName": "Gozareshgir" - }, - "SmsSettings": { - "IsTestMode": true, - "TestNumbers": [ - "09116967898" - //, "09116067106", "09114221321" - ] - }, - "InternalApi": { - "Local": "https://localhost:7032", - "Dadmehrg": "https://api.pm.dadmehrg.ir", - "Gozareshgir": "https://api.pm.gozareshgir.ir" - }, - "SepehrGateWayTerminalId": 99213700, - "JwtSettings": { - "SecretKey": ">3£>^1UBG@yw)QdhRC3$£:;r8~?qpp^oKK4D3a~8L2>enF;lkgh", - "Issuer": "GozareshgirApp", - "Audience": "GozareshgirUsers", - "ExpirationMinutes": 30 - } - - -} - diff --git a/ServiceHost/appsettings.json b/ServiceHost/appsettings.json deleted file mode 100644 index e5286144..00000000 --- a/ServiceHost/appsettings.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "Logging": { - "LogLevel": { - "Default": "Information", - "Microsoft": "Warning", - "Microsoft.Hosting.Lifetime": "Information" - } - }, - "ConnectionStrings": { - //"MesbahDb": "Data Source=.\\MSSQLSERVER2019;Initial Catalog=mesbah_db;Persist Security Info=False;User ID=mesbah_db;Password=sa142857$@;" - "MesbahDb": "Data Source=.;Initial Catalog=mesbah_db;Integrated Security=True;TrustServerCertificate=true;", - - //dad-mehr - //"MesbahDb": "Data Source=.;Initial Catalog=teamWork;Integrated Security=True;TrustServerCertificate=true;", - - //testDb - "TestDb": "Data Source=.;Initial Catalog=TestDb;Integrated Security=True;TrustServerCertificate=true;", - //program_manager_db - "ProgramManagerDb": "Data Source=.;Initial Catalog=program_manager_db;Integrated Security=True;TrustServerCertificate=true;" - }, - "BackupOptions": { - "DbName": "mesbah_db", - "DbBackupZipPath": "c://EveryHourBackupList//", - "FastDbBackupZipPath": "c://FastBackupZipList//", - "InsuranceListZipPath": "c://Logs//Gozareshgir//" - }, - "faceModels": { - "Faces": "c://labels//20//" - }, - "AllowedHosts": "*", - //"Domain": ".dad-mehr.ir" - "Domain": ".gozareshgir.ir", - "MongoDb": { - "ConnectionString": "mongodb://localhost:27017", - "DatabaseName": "Gozareshgir" - }, - "SmsSettings": { - "IsTestMode": false, - "TestNumbers": [] - }, - "InternalApi": { - "Local": "https://localhost:7032", - "Dadmehrg": "https://api.pm.dadmehrg.ir", - "Gozareshgir": "https://api.pm.gozareshgir.ir" - }, - - "SepehrGateWayTerminalId": 99213700, - "JwtSettings": { - "SecretKey": ">3£>^1UBG@yw)QdhRC3$£:;r8~?qpp^oKK4D3a~8L2>enF;lkgh", - "Issuer": "GozareshgirApp", - "Audience": "GozareshgirUsers", - "ExpirationMinutes": 30 - } -}