elsa-core/src/samples/server/Elsa.Samples.Server.Host/appsettings.json
axeleron007 e1cc867117 The appsettings Clean up
The appsettings Clean up
2021-07-06 16:26:37 +03:00

106 lines
2.8 KiB
JSON

{
"Logging": {
"LogLevel": {
"Default": "Warning",
"Microsoft": "Warning",
"Orleans": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "*",
"ConnectionStrings": {
"RabbitMq": "amqp://localhost:5672",
"Redis": "localhost:6379,abortConnect=false",
"MySql": "Server=LAPTOP-B76STK67;Database=Elsa;Uid=myUsername;Pwd=myPassword;",
"SqlServer": "Server=LAPTOP-B76STK67;Database=Elsa;Integrated Security=true;MultipleActiveResultSets=True;Max Pool Size=500;Connection Timeout=3600",
"Sqlite": "Data Source=elsa.sqlite.yes.db;Cache=Shared;",
"MongoDb": "mongodb://localhost:27017/Elsa",
"PostgreSql": "Server=127.0.0.1;Port=5432;Database=elsa;User Id=postgres;Password=password;"
},
"Elsa": {
"Features": {
"Persistence:EntityFrameworkCore:Sqlite": {
"Enabled": true,
"ConnectionStringName": "Sqlite"
},
"Dispatcher:Hangfire": true,
"Console": true,
"Http": true,
"Email": true,
"Temporal:Quartz": true,
"JavaScript:Activities": true,
"UserTask": true,
"Conductor": true,
"Telnyx": true,
"Webhooks": true,
"Webhooks:Persistence:EntityFrameworkCore:Sqlite": {
"Enabled": true,
"ConnectionStringName": "Sqlite"
}
},
"WorkflowChannels": {
"Channels": [
"High",
"Normal",
"Low"
],
"Default": "Normal"
},
"Http": {
"BaseUrl": "https://localhost:11000",
"BasePath": "/workflows"
},
"Smtp": {
"Host": "localhost",
"Port": "2525",
"DefaultSender": "noreply@acme.com"
},
"Conductor": {
"CommandsHookUrl": "https://localhost:16001/elsa-hook/commands",
"TasksHookUrl": "https://localhost:16001/elsa-hook/tasks",
"Commands": [
{
"Name": "OrderPizza",
"DisplayName": "Order Pizza",
"Description": "Ask the application to order a pizza"
},
{
"Name": "DoDishes",
"DisplayName": "Do the Dishes",
"Description": "Ask the application to do the dishes"
}
],
"Events": [
{
"Name": "PizzaDelivered",
"DisplayName": "Pizza Delivered",
"Description": "Your pizza is ready!",
"Outcomes": [
"Hot",
"Cold"
]
},
{
"Name": "DishesDone",
"DisplayName": "Dishes Done",
"Description": "Your dishes have been done!",
"Outcomes": [
"Done"
]
}
],
"Tasks": [
{
"Name": "MowGarden",
"DisplayName": "Mow Garden",
"Description": "Mow the garden",
"Outcomes": [
"Done",
"Cancelled"
]
}
]
}
}
}