correo/src/Correo/appsettings.json

65 lines
1.4 KiB
JSON

{
"Urls": "http://*:5005",
"Workspace": "workspace",
"Serilog": {
"MinimumLevel": {
"Default": "Warning",
"Override": {
"Microsoft": "Information"
}
}
},
"Logs": {
"File": {
"Enabled": false,
"Path": "logs/log.txt"
},
"Postgres": {
"Enabled": false,
"Connection": "Host=<host>;Port=5432;User ID=<user>;Password=<password>;Database=<database>;"
},
"Seq": {
"Enabled": false,
"Url": "",
"ApiKey": ""
}
},
"AllowedHosts": "*",
"Messaging": {
"Enabled": false,
"TopicPrefix": "HomeLab.",
"Source": "Correo",
"Nats": {
"NatsUrl": "nats://<host>:4222",
"Cluster": "<cluster>",
"ClientId": "Correo",
"QGroup": "Correo",
"DurableName": "durable"
}
},
"DefaultSender": {
"Address": "noreply@homelab.com",
"Name": "HomeLab"
},
"SmtpMediator": "SmtpClient", //SmtpClient, SendGrid, Mailgun
"SmtpClient": {
"Package": "MailKit", //.NET, MailKit
"Server": "smtp.gmail.com",
"Port": "587",
"UseAuthentication": true,
"Authentication": {
"UserName": "<account>@gmail.com",
"Domain": "",
"Password": "********"
},
"EnableSsl": true,
"TrustServer": false
},
"SendGrid": {
"ApiKey": "xxxxxxxxxxx"
},
"Mailgun": {
"ApiKey": "xxxxxxxxxxx",
"Domain": "xxxxxxxxxxx"
}
}