Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
- "contentVersion": "1.0.0.0",
- "parameters": {
- "containerGroups_aspose_cloud_container_name": {
- "defaultValue": "aspose-cloud-container",
- "type": "String"
- }
- },
- "variables": {},
- "resources": [
- {
- "type": "Microsoft.ContainerInstance/containerGroups",
- "apiVersion": "2023-05-01",
- "name": "[parameters('containerGroups_aspose_cloud_container_name')]",
- "location": "eastus",
- "properties": {
- "sku": "Standard",
- "volumes": [
- {
- "azureFile": {
- "shareName": "data",
- "storageAccountKey": "##########################",
- "storageAccountName": "asposecloudfs"
- },
- "name": "data"
- },
- {
- "azureFile": {
- "shareName": "fonts",
- "storageAccountKey": "##########################",
- "storageAccountName": "asposecloudfs"
- },
- "name": "fonts"
- }
- ],
- "containers": [
- {
- "name": "[parameters('containerGroups_aspose_cloud_container_name')]",
- "properties": {
- "image": "aspose/words-cloud:latest",
- "volumeMounts": [
- {
- "name": "data",
- "mountPath": "/data"
- },
- {
- "name": "fonts",
- "mountPath": "/fonts"
- }
- ],
- "ports": [
- {
- "protocol": "TCP",
- "port": 80
- }
- ],
- "environmentVariables": [],
- "resources": {
- "requests": {
- "memoryInGB": 1.5,
- "cpu": 1
- }
- }
- }
- }
- ],
- "initContainers": [],
- "restartPolicy": "OnFailure",
- "ipAddress": {
- "ports": [
- {
- "protocol": "TCP",
- "port": 80
- }
- ],
- "ip": "0.0.0.0",
- "type": "Public"
- },
- "osType": "Linux"
- }
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement