elsa-core/src/samples/server/Elsa.Samples.Server.Host/appsettings.json

90 lines
2.2 KiB
JSON
Raw Normal View History

2019-11-22 22:07:31 +00:00
{
2021-05-30 20:40:06 +00:00
"Logging": {
"LogLevel": {
"Default": "Warning",
"Microsoft": "Warning",
"Orleans": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "*",
"ConnectionStrings": {
"RabbitMq": "amqp://localhost:5672",
"Redis": "localhost:6379,abortConnect=false",
"SqlServer": "Server=LAPTOP-B76STK67;Database=Elsa;Integrated Security=true;MultipleActiveResultSets=True;Max Pool Size=500;Connection Timeout=3600",
"Sqlite": "Data Source=elsa.sqlite.db;Cache=Shared;",
"MongoDb": "mongodb://localhost:27017/Elsa"
},
"Elsa": {
"Features": [
2021-06-20 17:42:28 +00:00
"Persistence:MongoDb",
"Console",
"Http",
2021-06-20 17:42:28 +00:00
"Email",
"Webhooks",
"Temporal:Quartz",
"JavaScript:Activities",
"UserTask",
"Conductor"
],
"Persistence:Sqlite": {
"ConnectionStringName": "Sqlite"
},
2021-05-30 20:40:06 +00:00
"Http": {
"BaseUrl": "https://localhost:11000",
"BasePath": "/workflows"
2019-11-22 22:07:31 +00:00
},
2021-06-20 17:42:28 +00:00
"Smtp": {
2021-05-30 20:40:06 +00:00
"Host": "localhost",
"Port": "2525",
"DefaultSender": "noreply@acme.com"
},
2021-05-30 20:40:06 +00:00
"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"
},
2021-05-30 20:40:06 +00:00
{
"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"
]
},
2021-05-30 20:40:06 +00:00
{
"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"
]
}
2021-05-30 20:40:06 +00:00
]
2019-11-22 22:07:31 +00:00
}
2021-05-30 20:40:06 +00:00
}
2019-11-22 22:07:31 +00:00
}