Skip to content

Instantly share code, notes, and snippets.

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 PlagueHO/1bab27a8a7d5f8f81bb9712c50a3152f to your computer and use it in GitHub Desktop.
Save PlagueHO/1bab27a8a7d5f8f81bb9712c50a3152f to your computer and use it in GitHub Desktop.
Invoke The ACI Persist Container script for GoCD
.\Install-AzureContainerInstancePersistStorage.ps1 `
-ServicePrincipalUsername 'ce6fca5e-a22d-44b2-a75a-f3b20fcd1b16' `
-ServicePrincipalPassword (ConvertTo-SecureString -String 'JUJfenwe89hwNNF723ibw2YBybf238ybflA=' -AsPlainText -Force) `
-TenancyId '8871b1ba-7d3d-45f3-8ee0-bb60c0e4733e' `
-SubscriptionName 'Visual Studio Enterprise' `
-AppCode 'gocd' `
-UniqueCode 'mine' `
-ContainerImage 'gocd/gocd-server:v17.8.0' `
-ContainerPort '8153' `
-VolumeName 'gocd' `
-MountPoint '/godata/' `
-Verbose
@PlagueHO
Copy link
Author

PlagueHO commented Aug 6, 2017

Note: These Azure Subscription parameters are not real values. Go ahead and try them 😁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment