Files
FACULTATE-HEALTHCARE_MANAGER/backend/API/appsettings.json
T
2024-05-02 11:11:12 +00:00

51 lines
1.6 KiB
JSON

{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"Kestrel": {
"Endpoints": {
"Http": {
"Url": "http://*:5000"
},
"Https": {
"Url": "https://*:5001",
"Certificate": {
"Path": "/etc/letsencrypt/live/healthcaremanager.ddns.net/fullchain.pem",
"KeyPath": "/etc/letsencrypt/live/healthcaremanager.ddns.net/privkey.pem"
}
}
}
},
"ConnectionStrings": {
"HealthcareManagerDatabase": "Host=postgresrv.postgres.database.azure.com;Database=postgres;Port=5432;User Id=postgre;Password=Password1;Ssl Mode=Require;",
"MongoDBConnection": "mongodb+srv://mongodb:Password1@healthcaremanagermongodb.mongocluster.cosmos.azure.com/?tls=true&authMechanism=SCRAM-SHA-256&retrywrites=false&maxIdleTimeMS=120000"
},
"HealthcareManagerDatabase": {
"Name": "HealthcareManager",
"MedicalRecordCollectionName": "MedicalHistory",
"ChatCollectionName": "Chat",
"AppointmentsCollectionName": "Appointments"
},
"ApiKeySettings": {
"ApiKey": "testapikey"
},
"Jwt": {
"SecretKey": "f76bf7dc6e8a260f725f8a50ef9a8c4bd08ba2ae38e3b51d77d66617d1d6b7c0",
"Issuer": "HealthcareManager",
"Audience": "HealthCareManagerUsers",
"ExpirationTime": 1440
},
"SmtpSettings": {
"Host": "smtp-relay.brevo.com",
"Port": 587,
"From": "bot@healthcaremanager.com",
"EnableSSL": false,
"UserName": "andreimihneacerbu@gmail.com",
"Password": "zpK3w71LkNa0sGt6"
},
"AllowedHosts": "*"
}