Skip to content

Instantly share code, notes, and snippets.

@yuriburger
Last active May 14, 2019 09:19
Show Gist options
  • Save yuriburger/454cb9486c6e5525c54ef0e9b0ca4c86 to your computer and use it in GitHub Desktop.
Save yuriburger/454cb9486c6e5525c54ef0e9b0ca4c86 to your computer and use it in GitHub Desktop.
[create azure container instance] Deploy Azure Container Instance to Azure #azure
// vim: syntax=bash
az container create --resource-group <resource-group> --file create-azure-container-instance.yaml
apiVersion: 2018-10-01
location: westeurope
name: flowable-dev
properties:
containers:
- name: flowable-dev
properties:
environmentVariables:
- name: 'FLOWABLE_IDM_APP_ADMIN_USER_ID'
value: '<username'
- name: 'FLOWABLE_IDM_APP_ADMIN_PASSWORD'
value: '<password>'
- name: 'FLOWABLE_IDM_APP_ADMIN_FIRST_NAME'
value: 'Flowable'
- name: 'FLOWABLE_IDM_APP_ADMIN_LAST_NAME'
value: 'Admin'
- name: 'FLOWABLE_IDM_APP_ADMIN_EMAIL'
value: 'flowable@admin.com'
- name: 'FLOWABLE_COMMON_APP_IDM_ADMIN_USER'
value: '<username>'
- name: 'FLOWABLE_COMMON_APP_IDM_ADMIN_PASSWORD'
value: '<password>'
- name: 'FLOWABLE_COMMON_APP_IDM_REDIRECT_URL'
value: 'http://flowable-dev.westeurope.azurecontainer.io:8080/flowable-idm'
image: flowable/all-in-one
ports:
- port: 8080
resources:
requests:
cpu: 2.0
memoryInGB: 3.5
osType: Linux
ipAddress:
type: Public
ports:
- protocol: tcp
port: '8080'
dnsNameLabel: flowable-dev
restartPolicy: Always
tags: null
type: Microsoft.ContainerInstance/containerGroups
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment