* Add delivery api toggle * Add Dockerfile * add docker compose template * Ensure no duplicate database containers * Remove wwwroot/umbraco permission check We don't need write access to this folder * Provide environment variables from dokcer-compose * Build as debug from compose The compose file is intended to be used for local dev * Don't store password in docker files Still not great to store it in .env but it's fine for dev * Add additional template files * Add docker ignore file * Enable delivery API in settings too * Enable models builder mode toggle * Add WIP for umbraco release option * Add starterkit option * Add option to chose LTS or latest * Add development mode option * Add descriptions * Add display names * Add backoffice development at explicit default * Rearrange DevelopmentMode before ModelsBuilderMode * Allow specifying a port for the compose file * Add some notes * Move starterkits into its own template * Don't update version * Remove test configuration from Dockerfile * Add default modelsbuilder option * Update descriptions * overwrite default values in IDE development * Remove obsolete runtime minification * Try and fix healthcheck * Don't use post action for starterkit otherwise it won't work with Rider, also make the version 13.0.0 if LTS is chosen * Move UmbracoVersion above FinalVersion Otherwise, rider will use UmbracoVersion for some weird reason * Fix healthcheck * Use else instead of second if for modelsbuilder * Obsolete UmbracoVersion * Remove custom release option * Use forward slashes for volumes * Add MSSQL_SA_PASSWORD env variable * Temporarily limit acceptance tests so it works * Try again * Disable SQLServer integration tests * Set UseHttps to false in appsettings.Development.json You still want to be able to use non-https when developing locally * Fix LTS version LTS still needs installer endpoints added * Update permissions of wwwroot/umbraco for v13 sites * Fix conditional in Program.cs * Undo pipeline shenanigans
64 lines
1.6 KiB
JSON
64 lines
1.6 KiB
JSON
{
|
|
"$schema": "appsettings-schema.json",
|
|
"Serilog": {
|
|
"MinimumLevel": {
|
|
"Default": "Information",
|
|
"Override": {
|
|
"Microsoft": "Warning",
|
|
"Microsoft.Hosting.Lifetime": "Information",
|
|
"System": "Warning"
|
|
}
|
|
}
|
|
},
|
|
//#if (HasConnectionString)
|
|
"ConnectionStrings": {
|
|
"umbracoDbDSN": "CONNECTION_STRING_FROM_TEMPLATE",
|
|
"umbracoDbDSN_ProviderName": "CONNECTION_STRING_PROVIDER_NAME_FROM_TEMPLATE"
|
|
},
|
|
//#endif
|
|
"Umbraco": {
|
|
"CMS": {
|
|
"Global": {
|
|
"Id": "TELEMETRYID_FROM_TEMPLATE",
|
|
//#if (UseHttpsRedirect || DevelopmentMode == "IDEDevelopment")
|
|
"UseHttps": true,
|
|
//#endif
|
|
//#if (HasNoNodesViewPath)
|
|
"NoNodesViewPath": "NO_NODES_VIEW_PATH_FROM_TEMPLATE",
|
|
//#endif
|
|
"SanitizeTinyMce": true
|
|
},
|
|
"Content": {
|
|
"AllowEditInvariantFromNonDefault": true,
|
|
"ContentVersionCleanupPolicy": {
|
|
"EnableCleanup": true
|
|
}
|
|
},
|
|
"Unattended": {
|
|
"UpgradeUnattended": true
|
|
},
|
|
//#if (UseDeliveryApi)
|
|
"DeliveryApi": {
|
|
"Enabled": true
|
|
},
|
|
//#endif
|
|
//#if (ModelsBuilderMode != "Default" && DevelopmentMode == "BackOfficeDevelopment")
|
|
"ModelsBuilder": {
|
|
"ModelsMode": "MODELS_MODE"
|
|
},
|
|
//#endif
|
|
//#if (DevelopmentMode == "IDEDevelopment")
|
|
"Runtime": {
|
|
"Mode": "Production"
|
|
},
|
|
"ModelsBuilder": {
|
|
"ModelsMode": "Nothing"
|
|
},
|
|
//#endif
|
|
"Security": {
|
|
"AllowConcurrentLogins": false
|
|
}
|
|
}
|
|
}
|
|
}
|