Added CLI command to bind a certificate to Azure Container App.
This commit is contained in:
14
README.md
14
README.md
@@ -1,4 +1,4 @@
|
||||
## Azure Image Chooser
|
||||
# Azure Image Chooser
|
||||
|
||||
Azure Image Chooser is a [Streamlit](https://streamlit.io) application that allows users to select Azure VM images from the Azure Marketplace.
|
||||
|
||||
@@ -14,3 +14,15 @@ python3 -m venv .venv
|
||||
```
|
||||
|
||||
You have to be authenticated in Azure CLI. The app will block terminal and start a web server. Follow the instructions in the terminal to access the app.
|
||||
|
||||
## Add Certificate Binding
|
||||
|
||||
```shell
|
||||
az containerapp hostname bind \
|
||||
--hostname $DOMAIN_NAME \
|
||||
-g $RESOURCE_GROUP \
|
||||
-n $CONTAINER_APP \
|
||||
--environment $ENVIRONMENT \
|
||||
--certificate $CERTIFICATE_LOWERCASE_NAME \
|
||||
--validation-method CNAME
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user