dotnet-cqrs/Svrnty.Sample/appsettings.json

49 lines
1.2 KiB
JSON

{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning",
"Svrnty.CQRS.Events.PostgreSQL": "Debug"
}
},
"AllowedHosts": "*",
"Kestrel": {
"Endpoints": {
"Http": {
"Url": "http://localhost:5000",
"Protocols": "Http2"
},
"Https": {
"Url": "https://localhost:5001",
"Protocols": "Http2"
}
},
"EndpointDefaults": {
"Protocols": "Http2"
}
},
"EventStreaming": {
"UsePostgreSQL": false,
"PostgreSQL": {
"ConnectionString": "Host=localhost;Port=5432;Database=svrnty_events;Username=svrnty;Password=svrnty_dev",
"SchemaName": "event_streaming",
"AutoMigrate": true,
"MaxPoolSize": 100,
"MinPoolSize": 5
},
"RabbitMQ": {
"Enabled": false,
"ConnectionString": "amqp://guest:guest@localhost:5672/",
"ExchangePrefix": "svrnty-sample",
"DefaultExchangeType": "topic",
"DurableExchanges": true,
"DurableQueues": true,
"PrefetchCount": 10,
"PersistentMessages": true,
"EnablePublisherConfirms": false,
"AutoRecovery": true,
"AutoDeclareTopology": true
}
}
}