Skip to content

Instantly share code, notes, and snippets.

@marrobi
Created March 8, 2017 13:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marrobi/2f84928824c7c4d0c545e3c1bd04efc2 to your computer and use it in GitHub Desktop.
Save marrobi/2f84928824c7c4d0c545e3c1bd04efc2 to your computer and use it in GitHub Desktop.
Docker Extension
{
"type": "extensions",
"name": "DockerExtension",
"tags": {
"displayName": "DockerExtension"
},
"apiVersion": "2016-03-30",
"location": "[resourceGroup().location]",
"dependsOn": [
"[resourceId('Microsoft.Compute/virtualMachines/', variables('vmName'))]",
"[resourceId('Microsoft.Compute/virtualMachines/extensions', variables('vmName'), 'CustomScript')]"
],
"properties": {
"publisher": "Microsoft.Azure.Extensions",
"type": "DockerExtension",
"typeHandlerVersion": "1.2",
"autoUpgradeMinorVersion": true,
"settings": {
"compose": {
"geoserver": {
"image": "roamregistry.azurecr.io/geoserverazure:dev",
"ports": [ "8080:8080" ],
"volumes": [
"/media/geotiffstore/backdrops:/backdrop",
"/media/geoserverdatadir:/opt/geoserver/data_dir",
"/media/data1:/geowebcache"
]
}
},
"installonly": "false"
},
"protectedSettings": {
"login": {
"server": "https://roamregistry.azurecr.io",
"username": "roamregistry",
"password": "xxxx",
"email": "name@example.com"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment