forked from Azure/azure-quickstart-templates
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2a4c582
commit 0552ef8
Showing
1,020 changed files
with
59,871 additions
and
53,524 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,151 +1,159 @@ | ||
{ | ||
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", | ||
"contentVersion": "1.0.0.0", | ||
"parameters": { | ||
"name": { | ||
"type": "string", | ||
"metadata": { | ||
"description": "Name for the container group" | ||
}, | ||
"defaultValue": "acinavcontainergroup" | ||
}, | ||
"navRelease": { | ||
"type": "string", | ||
"metadata": { | ||
"description": "Before the colon: dynamics-nav for NAV or bcsandbox for Business Central. After the colon: Identifier for the specific release like 2018-cu4-de for NAV or de for BC. Possible values can be found at https://hub.docker.com/r/microsoft/dynamics-nav/tags/ or https://hub.docker.com/r/microsoft/bcsandbox/tags/" | ||
}, | ||
"defaultValue": "microsoft/bcsandbox:us" | ||
}, | ||
"username": { | ||
"type": "string", | ||
"metadata": { | ||
"description": "Username for your NAV super user" | ||
} | ||
}, | ||
"password": { | ||
"type": "string", | ||
"metadata": { | ||
"description": "Password for your NAV/BC super user and your sa user on the database" | ||
} | ||
}, | ||
"cpuCores": { | ||
"type": "string", | ||
"metadata": { | ||
"description": "The number of CPU cores to allocate to the container" | ||
}, | ||
"defaultValue": "2.0" | ||
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", | ||
"contentVersion": "1.0.0.0", | ||
"parameters": { | ||
"name": { | ||
"type": "string", | ||
"metadata": { | ||
"description": "Name for the container group" | ||
}, | ||
"memoryInGb": { | ||
"type": "string", | ||
"metadata": { | ||
"description": "The amount of memory to allocate to the container in gigabytes. Provide a minimum of 2 as he container will include SQL Server and NAV NST" | ||
}, | ||
"defaultValue": "2.0" | ||
"defaultValue": "acinavcontainergroup" | ||
}, | ||
"navRelease": { | ||
"type": "string", | ||
"metadata": { | ||
"description": "Before the colon: dynamics-nav for NAV or bcsandbox for Business Central. After the colon: Identifier for the specific release like 2018-cu4-de for NAV or de for BC. Possible values can be found at https://hub.docker.com/r/microsoft/dynamics-nav/tags/ or https://hub.docker.com/r/microsoft/bcsandbox/tags/" | ||
}, | ||
"acceptEula": { | ||
"type": "string", | ||
"metadata": { | ||
"description": "Change to 'Y' to accept the end user license agreement available at https://go.microsoft.com/fwlink/?linkid=861843. This is necessary to successfully run the container" | ||
}, | ||
"defaultValue": "N", | ||
"allowedValues": [ | ||
"Y", "N" | ||
] | ||
"defaultValue": "microsoft/bcsandbox:us" | ||
}, | ||
"username": { | ||
"type": "string", | ||
"metadata": { | ||
"description": "Username for your NAV super user" | ||
} | ||
}, | ||
"password": { | ||
"type": "string", | ||
"metadata": { | ||
"description": "Password for your NAV/BC super user and your sa user on the database" | ||
} | ||
}, | ||
"variables": { | ||
"image": "[parameters('navRelease')]" | ||
"cpuCores": { | ||
"type": "string", | ||
"metadata": { | ||
"description": "The number of CPU cores to allocate to the container" | ||
}, | ||
"defaultValue": "2.0" | ||
}, | ||
"memoryInGb": { | ||
"type": "string", | ||
"metadata": { | ||
"description": "The amount of memory to allocate to the container in gigabytes. Provide a minimum of 2 as he container will include SQL Server and NAV NST" | ||
}, | ||
"defaultValue": "2.0" | ||
}, | ||
"resources": [ | ||
{ | ||
"name": "[parameters('name')]", | ||
"type": "Microsoft.ContainerInstance/containerGroups", | ||
"apiVersion": "2017-10-01-preview", | ||
"location": "[resourceGroup().location]", | ||
"properties": { | ||
"containers": [ | ||
{ | ||
"name": "[parameters('name')]", | ||
"properties": { | ||
"environmentVariables": [ | ||
{ | ||
"name": "ACCEPT_EULA", | ||
"value": "[parameters('acceptEula')]" | ||
}, | ||
{ | ||
"name": "username", | ||
"value": "[parameters('username')]" | ||
}, | ||
{ | ||
"name": "password", | ||
"value": "[parameters('password')]" | ||
} | ||
], | ||
"image": "[variables('image')]", | ||
"ports": [ | ||
{ | ||
"protocol": "tcp", | ||
"port": "443" | ||
}, | ||
{ | ||
"protocol": "tcp", | ||
"port": "80" | ||
}, | ||
{ | ||
"protocol": "tcp", | ||
"port": "7049" | ||
}, | ||
{ | ||
"protocol": "tcp", | ||
"port": "8080" | ||
}, | ||
{ | ||
"protocol": "tcp", | ||
"port": "1433" | ||
} | ||
], | ||
"resources": { | ||
"requests": { | ||
"cpu": "[parameters('cpuCores')]", | ||
"memoryInGb": "[parameters('memoryInGb')]" | ||
} | ||
} | ||
} | ||
} | ||
], | ||
"osType": "Windows", | ||
"ipAddress": { | ||
"type": "Public", | ||
"ports": [ | ||
{ | ||
"protocol": "tcp", | ||
"port": "443" | ||
}, | ||
{ | ||
"protocol": "tcp", | ||
"port": "80" | ||
}, | ||
{ | ||
"protocol": "tcp", | ||
"port": "7049" | ||
}, | ||
{ | ||
"protocol": "tcp", | ||
"port": "8080" | ||
}, | ||
{ | ||
"protocol": "tcp", | ||
"port": "1433" | ||
} | ||
] | ||
} | ||
"acceptEula": { | ||
"type": "string", | ||
"metadata": { | ||
"description": "Change to 'Y' to accept the end user license agreement available at https://go.microsoft.com/fwlink/?linkid=861843. This is necessary to successfully run the container" | ||
}, | ||
"defaultValue": "N", | ||
"allowedValues": [ | ||
"Y", | ||
"N" | ||
] | ||
}, | ||
"location": { | ||
"type": "string", | ||
"defaultValue": "[resourceGroup().location]", | ||
"metadata": { | ||
"description": "Location for all resources." | ||
} | ||
} | ||
}, | ||
"variables": { | ||
"image": "[parameters('navRelease')]" | ||
}, | ||
"resources": [ | ||
{ | ||
"name": "[parameters('name')]", | ||
"type": "Microsoft.ContainerInstance/containerGroups", | ||
"apiVersion": "2017-10-01-preview", | ||
"location": "[parameters('location')]", | ||
"properties": { | ||
"containers": [ | ||
{ | ||
"name": "[parameters('name')]", | ||
"properties": { | ||
"environmentVariables": [ | ||
{ | ||
"name": "ACCEPT_EULA", | ||
"value": "[parameters('acceptEula')]" | ||
}, | ||
{ | ||
"name": "username", | ||
"value": "[parameters('username')]" | ||
}, | ||
{ | ||
"name": "password", | ||
"value": "[parameters('password')]" | ||
} | ||
], | ||
"image": "[variables('image')]", | ||
"ports": [ | ||
{ | ||
"protocol": "tcp", | ||
"port": "443" | ||
}, | ||
{ | ||
"protocol": "tcp", | ||
"port": "80" | ||
}, | ||
{ | ||
"protocol": "tcp", | ||
"port": "7049" | ||
}, | ||
{ | ||
"protocol": "tcp", | ||
"port": "8080" | ||
}, | ||
{ | ||
"protocol": "tcp", | ||
"port": "1433" | ||
} | ||
], | ||
"resources": { | ||
"requests": { | ||
"cpu": "[parameters('cpuCores')]", | ||
"memoryInGb": "[parameters('memoryInGb')]" | ||
} | ||
} | ||
} | ||
} | ||
], | ||
"outputs": { | ||
"containerIPv4Address":{ | ||
"type": "string", | ||
"value": "[reference(resourceId('Microsoft.ContainerInstance/containerGroups/', parameters('name'))).ipAddress.ip]" | ||
], | ||
"osType": "Windows", | ||
"ipAddress": { | ||
"type": "Public", | ||
"ports": [ | ||
{ | ||
"protocol": "tcp", | ||
"port": "443" | ||
}, | ||
{ | ||
"protocol": "tcp", | ||
"port": "80" | ||
}, | ||
{ | ||
"protocol": "tcp", | ||
"port": "7049" | ||
}, | ||
{ | ||
"protocol": "tcp", | ||
"port": "8080" | ||
}, | ||
{ | ||
"protocol": "tcp", | ||
"port": "1433" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
], | ||
"outputs": { | ||
"containerIPv4Address": { | ||
"type": "string", | ||
"value": "[reference(resourceId('Microsoft.ContainerInstance/containerGroups/', parameters('name'))).ipAddress.ip]" | ||
} | ||
} | ||
} |
Oops, something went wrong.