Support --allow-insecure option in az containerapp compose create command
vienleidl opened this issue · comments
Describe the bug
After run the az container compose create command with the following docker-compose file, the Ingress has been enabled successfully with the correct protocol and target port. However, there is no option in docker-compose file to allow insecure connections.
version: '3.4'
services:
app:
image: 'ACR_NAME.azurecr.io/Repo_Name/Image_Name:Tag_Name'
build:
dockerfile: ./docker-compose/broker/Dockerfile
args:
- TOKEN=${TOKEN:-default}
context: ./..
environment:
- HOST=app.internal.$AZURE_CONTAINERAPPS_ENV_DEFAULT_DOMAIN
expose:
- 8080
deploy:
replicas: 1
resources:
reservations:
cpus: '1.0'
memory: 2gb
Related command
az containerapp compose create
Errors
N/A
Issue script & Debug output
N/A
Expected behavior
There should be a configuration in the docker-compose file to allow insecure connections.
Environment Summary
{
"azure-cli": "2.60.0",
"azure-cli-core": "2.60.0",
"azure-cli-telemetry": "1.1.0",
"extensions": {
"aks-preview": "3.0.0b13",
"azure-devops": "1.0.0",
"containerapp": "0.3.50"
}
}
Additional context
No response
Thank you for opening this issue, we will look into it.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @calvinsID.
Hi @vienleidl
az containerapp compose create
not support --allow-insecure
, you can use:
az containerapp ingress update --allow-insecure
Hi @vienleidl
az containerapp compose create
not support--allow-insecure
, you can use:az containerapp ingress update --allow-insecure
Yes. I did that already. But I'd like to use the compose create command with the current Docker Compose file and try to deploy with Azure DevOps pipeline.