Created
March 8, 2017 10:23
-
-
Save marrobi/e5152e05829150f0b0b3c2532b62c6ba to your computer and use it in GitHub Desktop.
Docker extension with volume
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
{ | |
"type": "extensions", | |
"name": "DockerExtension", | |
"tags": { | |
"displayName": "DockerExtension" | |
}, | |
"apiVersion": "2016-03-30", | |
"location": "[resourceGroup().location]", | |
"dependsOn": [ | |
"[resourceId('Microsoft.Compute/virtualMachines/', variables('vmName'))]" | |
], | |
"properties": { | |
"publisher": "Microsoft.Azure.Extensions", | |
"type": "DockerExtension", | |
"typeHandlerVersion": "1.2", | |
"autoUpgradeMinorVersion": true, | |
"settings": { | |
"compose": { | |
"geoserver": { | |
"image": "winsent/geoserver:2.10", | |
"ports": [ "8080:8080" ] | |
"volumes": [ | |
"/media/geoserverdatadir:/opt/geoserver/data_dir" | |
] | |
} | |
} | |
}, | |
"protectedSettings": { | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment