Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -839,6 +839,16 @@
"corsPolicy": {
"description": "CORS policy for container app",
"$ref": "#/definitions/CorsPolicy"
},
"additionalPortMappings": {
"description": "Settings to expose additional ports on container app",
"type": "array",
"items": {
"$ref": "#/definitions/IngressPortMapping"
},
"x-ms-identifiers": [
"targetPort"
]
}
}
},
Expand Down Expand Up @@ -1044,6 +1054,30 @@
}
}
},
"IngressPortMapping": {
"description": "Port mappings of container app ingress",
"type": "object",
"required": [
"external",
"targetPort"
],
"properties": {
"external": {
"description": "Specifies whether the app port is accessible outside of the environment",
"type": "boolean"
},
"targetPort": {
"format": "int32",
"description": "Specifies the port user's container listens on",
"type": "integer"
},
"exposedPort": {
"format": "int32",
"description": "Specifies the exposed port for the target port. If not specified, it defaults to target port",
"type": "integer"
}
}
},
"CustomHostnameAnalysisResult": {
"description": "Custom domain analysis.",
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,18 @@
],
"maxAge": 1234,
"allowCredentials": true
}
},
"additionalPortMappings": [
{
"external": true,
"targetPort": 1234
},
{
"external": false,
"targetPort": 2345,
"exposedPort": 3456
}
]
},
"dapr": {
"enabled": true,
Expand Down