Created
March 8, 2017 13:44
-
-
Save marrobi/2f84928824c7c4d0c545e3c1bd04efc2 to your computer and use it in GitHub Desktop.
Docker Extension
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'))]", | |
"[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