Skip to content

Commit

Permalink
FIX-TEMPLATE: docker-ckan (#10553)
Browse files Browse the repository at this point in the history
* initial commit

* initial commit

* changing the password to unique one

* initial commit

* changing the password to unique one

* initial commit

* initial commit

* reverting

* adding openedx version

* STAGED

* initial commit

* revert

* initial commit

* revert

* initial commit

* removing gov cloud

Co-authored-by: olga-spektra <ssi_okuzina@qbsol.com>
Co-authored-by: olga-spektra <olga@spektrasystems.com>
  • Loading branch information
3 people committed Jun 1, 2021
1 parent f6c2a9a commit 2f3830f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
17 changes: 7 additions & 10 deletions docker-ckan/azuredeploy.json
Expand Up @@ -49,17 +49,14 @@
"imagePublisher": "Canonical",
"imageOffer": "UbuntuServer",
"ubuntuOSVersion": "16.04-LTS",
"OSDiskName": "osdiskfordockersimple",
"nsgName": "myNSG",
"nicName": "myVMNic",
"extensionName": "DockerExtension",
"addressPrefix": "10.0.0.0/16",
"subnetName": "Subnet",
"subnetPrefix": "10.0.0.0/24",
"storageAccountType": "Standard_LRS",
"publicIPAddressName": "myPublicIP",
"publicIPAddressType": "Dynamic",
"vmStorageAccountContainerName": "vhds",
"vmName": "MyDockerCkanVM",
"vmSize": "Standard_D1",
"virtualNetworkName": "MyVNET",
Expand Down Expand Up @@ -132,8 +129,8 @@
"name": "[variables('nicName')]",
"location": "[parameters('location')]",
"dependsOn": [
"[concat('Microsoft.Network/publicIPAddresses/', variables('publicIPAddressName'))]",
"[concat('Microsoft.Network/virtualNetworks/', variables('virtualNetworkName'))]"
"[resourceId('Microsoft.Network/publicIPAddresses/', variables('publicIPAddressName'))]",
"[resourceId('Microsoft.Network/virtualNetworks/', variables('virtualNetworkName'))]"
],
"properties": {
"ipConfigurations": [
Expand Down Expand Up @@ -196,8 +193,8 @@
"name": "[variables('vmName')]",
"location": "[parameters('location')]",
"dependsOn": [
"[concat('Microsoft.Storage/storageAccounts/', parameters('newStorageAccountName'))]",
"[concat('Microsoft.Network/networkInterfaces/', variables('nicName'))]"
"[resourceId('Microsoft.Storage/storageAccounts/', parameters('newStorageAccountName'))]",
"[resourceId('Microsoft.Network/networkInterfaces/', variables('nicName'))]"
],
"properties": {
"hardwareProfile": {
Expand Down Expand Up @@ -233,11 +230,11 @@
},
{
"type": "Microsoft.Compute/virtualMachines/extensions",
"name": "[concat(variables('vmName'),'/', variables('extensionName'))]",
"apiVersion": "2015-05-01-preview",
"name": "[concat(variables('vmName'),'/ckanDocker')]",
"apiVersion": "2017-03-30",
"location": "[parameters('location')]",
"dependsOn": [
"[concat('Microsoft.Compute/virtualMachines/', variables('vmName'))]"
"[resourceId('Microsoft.Compute/virtualMachines/', variables('vmName'))]"
],
"properties": {
"publisher": "Microsoft.Azure.Extensions",
Expand Down
5 changes: 4 additions & 1 deletion docker-ckan/metadata.json
Expand Up @@ -5,5 +5,8 @@
"description": "This template deploys CKAN using Apache Solr (for search) and PostgreSQL (database) on an Ubuntu VM. CKAN, Solr and PostgreSQL are deployed as individual Docker containers on the VM.",
"summary": "Deploy CKAN as a single VM containerized application",
"githubUsername": "rgardler",
"dateUpdated": "2019-05-02"
"dateUpdated": "2019-05-02",
"environments": [
"AzureCloud"
]
}

0 comments on commit 2f3830f

Please sign in to comment.