Created
December 1, 2023 13:23
-
-
Save ashishjullia/0b67839a36b6e5c18854367b889c9ab7 to your computer and use it in GitHub Desktop.
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
apiVersion: 2019-12-01 | |
location: <your_location> # Replace with your Azure region, e.g., eastus | |
name: <your_container_group_name> # Replace with your container group name | |
properties: | |
containers: | |
- name: <> | |
properties: | |
image: <> | |
resources: | |
requests: | |
cpu: 1.0 # Adjust as needed | |
memoryInGb: 1.5 # Adjust as needed | |
environmentVariables: | |
- name: <> | |
value: <> | |
ports: | |
- port: 80 | |
osType: Linux | |
restartPolicy: Always | |
volumes: | |
- name: <> | |
azureFile: | |
shareName: <your_file_share_name> # Replace with your Azure File Share name | |
storageAccountName: <your_storage_account_name> # Replace with your storage account name | |
storageAccountKey: <your_storage_account_key> # Replace with your storage account key | |
ipAddress: | |
type: Public | |
ports: | |
- protocol: tcp | |
port: 80 | |
tags: | |
- project: <your_project_tag> # Replace with your project tag if needed | |
type: Microsoft.ContainerInstance/containerGroups |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment