correo/src/Correo/appsettings.json

65 lines
1.4 KiB
JSON
Raw Normal View History

2023-01-17 23:14:05 +02:00
{
2023-01-18 01:01:25 +02:00
"Urls": "http://*:5005",
"Workspace": "workspace",
"Serilog": {
"MinimumLevel": {
2023-01-18 02:12:35 +02:00
"Default": "Warning",
2023-01-18 01:01:25 +02:00
"Override": {
"Microsoft": "Information"
}
2023-01-17 23:14:05 +02:00
}
},
2023-01-24 19:40:32 +02:00
"Logs": {
"File": {
"Enabled": true,
"Path": "logs/log.txt"
},
"Postgres": {
"Enabled": false,
"Connection": "Host=<host>;Port=5432;User ID=<user>;Password=<password>;Database=<database>;"
},
"Seq": {
"Enabled": false,
"Url": "",
"ApiKey": ""
}
},
2023-01-18 02:12:35 +02:00
"AllowedHosts": "*",
"Messaging": {
"Enabled": false,
"TopicPrefix": "HomeLab.",
"Source": "Correo",
"Nats": {
2023-01-21 16:50:20 +02:00
"NatsUrl": "nats://<host>:4222",
"Cluster": "<cluster>",
"ClientId": "Correo",
"QGroup": "Correo",
"DurableName": "durable"
2023-01-18 02:12:35 +02:00
}
2023-01-18 03:20:57 +02:00
},
"DefaultSender": {
"Address": "noreply@homelab.com",
"Name": "HomeLab"
},
2023-01-21 04:25:44 +02:00
"SmtpMediator": "SmtpClient", //SmtpClient, SendGrid, Mailgun
2023-01-18 03:20:57 +02:00
"SmtpClient": {
2023-01-21 04:25:44 +02:00
"Package": "MailKit", //.NET, MailKit
2023-01-18 03:20:57 +02:00
"Server": "smtp.gmail.com",
"Port": "587",
2023-01-19 19:45:00 +02:00
"UseAuthentication": true,
2023-01-18 03:20:57 +02:00
"Authentication": {
"UserName": "<account>@gmail.com",
"Domain": "",
"Password": "********"
},
2023-01-19 18:21:35 +02:00
"EnableSsl": true,
2023-01-18 03:20:57 +02:00
"TrustServer": false
2023-01-20 19:23:28 +02:00
},
2023-01-21 04:05:14 +02:00
"SendGrid": {
2023-01-20 19:23:28 +02:00
"ApiKey": "xxxxxxxxxxx"
2023-01-21 04:05:14 +02:00
},
"Mailgun": {
"ApiKey": "xxxxxxxxxxx",
"Domain": "xxxxxxxxxxx"
2023-01-18 02:12:35 +02:00
}
2023-01-18 03:20:57 +02:00
}