зеркало из https://github.com/Azure/azure-saas.git
always on = true for app service
This commit is contained in:
Родитель
0a2f26d1dc
Коммит
cb9f609cf8
|
@ -22,9 +22,10 @@ Requirements:
|
|||
|
||||
- [Docker Desktop](https://www.docker.com/products/docker-desktop/)
|
||||
|
||||
Running our pre-built docker image is the recommended way to set up the identity framework, as the image comes pre-installed with all the dependencies necessary for execution. To start, run the following command:
|
||||
Running our pre-built docker image is the recommended way to set up the identity framework, as the image comes pre-installed with all the dependencies necessary for execution. To start, run the following commands:
|
||||
|
||||
```bash
|
||||
docker pull ghcr.io/azure/azure-saas/asdk-identity-setup:latest
|
||||
docker run -it -v "$(pwd):/data" --name asdk-b2c-deployment ghcr.io/azure/azure-saas/asdk-identity-setup:latest
|
||||
```
|
||||
|
||||
|
@ -54,7 +55,7 @@ Deploying to Azure is easy thanks to our pre-configured ARM (Azure Resource Mana
|
|||
|
||||
This button will take you to the Azure portal and will pass it the ARM template. You will need the parameters file output from step 1.
|
||||
|
||||
1. Click here: [![Deploy to Azure](https://aka.ms/deploytoazurebutton)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontentcom%2FAzure%2Fazure-saas%2Fusers%2Fchixcancode%2Fb2cpowershell%2Fsrc%2FSaas.IaC%2Fmain.json).
|
||||
1. Click here: [![Deploy to Azure](https://aka.ms/deploytoazurebutton)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-saas%2Fusers%2Fchixcancode%2Fb2cpowershell%2Fsrc%2FSaas.IaC%2Fmain.json).
|
||||
2. Select "Edit Parameters".
|
||||
3. Select "Load File" and upload the `parameters.json` file output from the Identity Framework Deployment (step 1 above). Click "Save".
|
||||
4. From the dropdown, select the subscription and resource group you'd like to deploy the resources to.
|
||||
|
|
|
@ -34,6 +34,7 @@ resource adminApi 'Microsoft.Web/sites@2021-03-01' = {
|
|||
serverFarmId: appServicePlanId
|
||||
httpsOnly: true
|
||||
siteConfig: {
|
||||
alwaysOn: true
|
||||
linuxFxVersion: 'DOCKER|${adminApiContainerImageTag}'
|
||||
appSettings: [
|
||||
{
|
||||
|
|
|
@ -26,6 +26,7 @@ resource applicationAppService 'Microsoft.Web/sites@2021-03-01' = {
|
|||
serverFarmId: appServicePlanId
|
||||
httpsOnly: true
|
||||
siteConfig: {
|
||||
alwaysOn: true
|
||||
linuxFxVersion: 'DOCKER|${applicationApiContainerImageTag}'
|
||||
appSettings: [
|
||||
{
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
"_generator": {
|
||||
"name": "bicep",
|
||||
"version": "0.6.18.56646",
|
||||
"templateHash": "12121463558890131865"
|
||||
"templateHash": "7879559166314876750"
|
||||
}
|
||||
},
|
||||
"parameters": {
|
||||
|
@ -899,7 +899,7 @@
|
|||
"_generator": {
|
||||
"name": "bicep",
|
||||
"version": "0.6.18.56646",
|
||||
"templateHash": "11779378853307237337"
|
||||
"templateHash": "12940043457851371009"
|
||||
}
|
||||
},
|
||||
"parameters": {
|
||||
|
@ -964,6 +964,7 @@
|
|||
"serverFarmId": "[parameters('appServicePlanId')]",
|
||||
"httpsOnly": true,
|
||||
"siteConfig": {
|
||||
"alwaysOn": true,
|
||||
"linuxFxVersion": "[format('DOCKER|{0}', parameters('adminApiContainerImageTag'))]",
|
||||
"appSettings": [
|
||||
{
|
||||
|
@ -1073,7 +1074,7 @@
|
|||
"_generator": {
|
||||
"name": "bicep",
|
||||
"version": "0.6.18.56646",
|
||||
"templateHash": "11515195673093461687"
|
||||
"templateHash": "17028686214849389794"
|
||||
}
|
||||
},
|
||||
"parameters": {
|
||||
|
@ -1143,6 +1144,7 @@
|
|||
"serverFarmId": "[parameters('appServicePlanId')]",
|
||||
"httpsOnly": true,
|
||||
"siteConfig": {
|
||||
"alwaysOn": true,
|
||||
"linuxFxVersion": "[format('DOCKER|{0}', parameters('signupAdminApiContainerImageTag'))]",
|
||||
"appSettings": [
|
||||
{
|
||||
|
@ -1245,7 +1247,7 @@
|
|||
"_generator": {
|
||||
"name": "bicep",
|
||||
"version": "0.6.18.56646",
|
||||
"templateHash": "12082804660581100163"
|
||||
"templateHash": "2697376532598115904"
|
||||
}
|
||||
},
|
||||
"parameters": {
|
||||
|
@ -1291,6 +1293,7 @@
|
|||
"serverFarmId": "[parameters('appServicePlanId')]",
|
||||
"httpsOnly": true,
|
||||
"siteConfig": {
|
||||
"alwaysOn": true,
|
||||
"linuxFxVersion": "[format('DOCKER|{0}', parameters('applicationApiContainerImageTag'))]",
|
||||
"appSettings": [
|
||||
{
|
||||
|
|
|
@ -37,6 +37,7 @@ resource signupAdminAppService 'Microsoft.Web/sites@2021-03-01' = {
|
|||
serverFarmId: appServicePlanId
|
||||
httpsOnly: true
|
||||
siteConfig: {
|
||||
alwaysOn: true
|
||||
linuxFxVersion: 'DOCKER|${signupAdminApiContainerImageTag}'
|
||||
appSettings: [
|
||||
{
|
||||
|
|
|
@ -30,6 +30,7 @@ resource permissionsApi 'Microsoft.Web/sites@2021-03-01' = {
|
|||
clientCertEnabled: true
|
||||
clientCertMode: 'Required'
|
||||
siteConfig: {
|
||||
alwaysOn: true
|
||||
linuxFxVersion: 'DOCKER|${permissionsApiContainerImageTag}'
|
||||
appSettings: [
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче