...
Code Block |
---|
az container create \ --resource-group <resource group>group name> \ --name <name<Azure yourcontainer po-box ACI instance>instance name> \ --image <Image name provided by zilla> \ 'zillapobox.azurecr.io/zinc:latest' \ --restart-policy OnFailure \ --environment-variables ZILLA_URL='https://app.zillasecurity.com' \ TENANT_DOMAIN='<tenant<your domainZilla name of your Zilla tenant>tenant domain>' \ USE_FILE_SYSTEMPOLLING_INTERVAL='true30' \ SEND_LOGS_TO_BACKEND='true' \ USE_FILE_SYSTEM='true' \ SECRETS_DIRECTORY_PATH='/mnt/Zilla/pobox-config' \ STORAGE_DIRECTORY_PATH='/mnt/Zilla/pobox-output' \ --registry-login-server <registry name provided by zilla>login server> \ --registry-username <App<registry registrationuser Id>name> \ --registry-password <App registration'<registry password>' \ --azure-file-volume-share-name zilla-pobox-volume \ --azure-file-volume-account-name zillapoboxstorageaccount-name <Azure storage account name> \ --azure-file-volume-account-key <Access key for '<Azure storage account >access key>' \ --azure-file-volume-mount-path /mnt |
...
registry login server
: zillapobox.azurecr.ioregistry user name
: Application Id noted in step 1 .io
registry user name
: Application Id noted in step 1 https://zilla.atlassian.net/wiki/spaces/ZILLA/pages/edit-v2/3225354263#Step-1%3A-Create-App-Registration.1
registry password
: Secret noted in step 2 https://zilla.atlassian.net/wiki/spaces/ZILLA/pages/edit-v2/3225354263#Step-1%3A2%3A-CreateAdd-AppClient-RegistrationSecret.1registry password
Azure storage account name
: Secret noted in step 2 3 https://zilla.atlassian.net/wiki/spaces/ZILLAZILLASUP/pages/edit-v2/3225354263#Step3274178561#Step-2%3A3%3A-AddCreate-Client-Secret.1Storage-Account
Azure storage account access key
: Can be obtained from Storage Account | Security + Networking | Access Keys
Step 7: Create Logic app to restart container
...