Files
Umbraco-CMS/build/templates/UmbracoProject/appsettings.Development.json
Warren Buckley 473bc53c66 dotnet new template - Support unattended (#10107)
* Remove trailing comma

* Remove duplicate property

* Logo is now transparent & not on a solid a white BG

* Adds in auto Nuget Restore with an option to skip auto restore if you wish to

https://github.com/dotnet/dotnet-template-samples/tree/master/08-restore-on-create

* Fix typo

* Rename from UmbracoSolution to UmbracoProject

Bit misleading as it only ever creates a CSProj & not a SLN

* Couple extra places that needed a rename

* Adds support for HTTP & HTTPS port that will autogenerate an available free port number

https://github.com/dotnet/templating/wiki/Available-Symbols-Generators#port

* Update build/templates/UmbracoProject/.template.config/template.json

Co-authored-by: Bjarke Berg <mail@bergmania.dk>

* Update build/templates/UmbracoProject/.template.config/template.json

Co-authored-by: Bjarke Berg <mail@bergmania.dk>

* Rather than COPY appsettings from Umbraco.Web.UI.NetCore we use these specific ones so we can add logic to them

* Support for unattended install with new CLI args

* Change order so all the long textboxes that are optional are together

* Apply suggestions from code review from Elitsa

Co-authored-by: Elitsa Marinovska <21998037+elit0451@users.noreply.github.com>

Co-authored-by: Bjarke Berg <mail@bergmania.dk>
Co-authored-by: Elitsa Marinovska <elm@umbraco.dk>
Co-authored-by: Elitsa Marinovska <21998037+elit0451@users.noreply.github.com>
2021-04-22 13:22:01 +02:00

50 lines
1023 B
JSON

{
"Serilog": {
"MinimumLevel": {
"Default": "Information"
},
"WriteTo": [
{
"Name": "Async",
"Args": {
"configure": [
{
"Name": "Console"
}
]
}
}
]
},
//#if (UsingUnattenedInstall)
"ConnectionStrings": {
"umbracoDbDSN": "CONNECTION_FROM_TEMPLATE"
},
//#endif
"Umbraco": {
"CMS": {
//#if (UsingUnattenedInstall)
"Unattended": {
"InstallUnattended": true,
"UnattendedUserName": "FRIENDLY_NAME_FROM_TEMPLATE",
"UnattendedUserEmail": "EMAIL_FROM_TEMPLATE",
"UnattendedUserPassword": "PASSWORD_FROM_TEMPLATE"
},
//#endif
"Global": {
"Smtp": {
"From": "your@email.here",
"Host": "localhost",
"Port": 25
}
},
"Hosting": {
"Debug": true
},
"RuntimeMinification": {
"useInMemoryCache": true,
"cacheBuster": "Timestamp"
}
}
}
}