Files
EchoHub/src/EchoHub.Server/appsettings.example.json
T

40 lines
988 B
JSON

{
"Urls": "http://0.0.0.0:5000",
"ConnectionStrings": {
"DefaultConnection": ""
},
"Jwt": {
"Secret": "CHANGE_ME_minimum_32_characters_long_secret_key",
"Issuer": "EchoHub.Server",
"Audience": "EchoHub.Client"
},
"Server": {
"Name": "My EchoHub Server",
"Description": "A self-hosted EchoHub chat server"
},
"Serilog": {
"MinimumLevel": {
"Default": "Information",
"Override": {
"Microsoft": "Warning",
"Microsoft.AspNetCore": "Warning",
"Microsoft.EntityFrameworkCore": "Warning",
"System": "Warning"
}
},
"WriteTo": [
{ "Name": "Console" },
{
"Name": "File",
"Args": {
"path": "logs/echohub-server-.log",
"rollingInterval": "Day",
"retainedFileCountLimit": 14,
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss.fff} [{Level:u3}] {Message:lj}{NewLine}{Exception}"
}
}
]
},
"AllowedHosts": "*"
}