AzureContainerAppsDeployerParameters
Class: AzureContainerAppsDeployerParameters
Defined in: azure/src/deployers/containerapps.service.ts:18
Azure Container Apps unit parameters. Image tags and Azure resource tags are separate.
Extends
Constructors
Constructor
new AzureContainerAppsDeployerParameters():
AzureContainerAppsDeployerParameters
Returns
AzureContainerAppsDeployerParameters
Inherited from
AzureArmDeployerParameters.constructor
Properties
baseImage
baseImage:
string
Defined in: oci/lib/container.service.d.ts:17
Base image, scratch for none
Default
"node:22-slim"
Inherited from
AzureArmDeployerParameters.baseImage
clientId?
optionalclientId?:string
Defined in: azure/src/deployers/arm.service.ts:21
Client ID
Inherited from
AzureArmDeployerParameters.clientId
clientSecret?
optionalclientSecret?:string|SecretString
Defined in: azure/src/deployers/arm.service.ts:25
Client secret
Inherited from
AzureArmDeployerParameters.clientSecret
cmd
cmd:
string[]
Defined in: oci/lib/container.service.d.ts:50
Command of the image, the arguments of the entrypoint
Default
["serve", "--bind", "0.0.0.0"]
Inherited from
AzureArmDeployerParameters.cmd
containerApp
containerApp:
object={}
Defined in: azure/src/deployers/containerapps.service.ts:30
Container app
cpu?
optionalcpu?:number
env?
optionalenv?:Record<string,string| {secretRef:string; }>
ingress?
optionalingress?:false| {external?:boolean;targetPort?:number;transport?:string; }
maxReplicas?
optionalmaxReplicas?:number
memory?
optionalmemory?:string
minReplicas?
optionalminReplicas?:number
name?
optionalname?:string
probes?
optionalprobes?:Record<string,any>[]
scaleRules?
optionalscaleRules?:Record<string,any>[]
createResourceGroup
createResourceGroup:
boolean=false
Defined in: azure/src/deployers/arm.service.ts:45
Create resource group
Inherited from
AzureArmDeployerParameters.createResourceGroup
credentials
credentials:
Record<string,RegistryCredentials>
Defined in: oci/lib/container.service.d.ts:105
Credentials per registry host, they take precedence over ~/.docker/config.json
Default
Use templates to read them from the environment: { "ghcr.io": { "username": "${env.GHCR_USER}", "password": "${env.GHCR_TOKEN}" } }
password, identityToken and token can be encrypted with webda config encrypt
Inherited from
AzureArmDeployerParameters.credentials
crons
crons:
boolean=true
Defined in: azure/src/deployers/containerapps.service.ts:61
Crons
customDomains
customDomains:
object[] =[]
Defined in: azure/src/deployers/containerapps.service.ts:56
Custom domains
bindingType?
optionalbindingType?:string
certificateId?
optionalcertificateId?:string
name
name:
string
validationMethod?
optionalvalidationMethod?:"CNAME"|"HTTP"
customResources
customResources:
Record<string,any>[] |Record<string,Record<string,any>> =[]
Defined in: azure/src/deployers/arm.service.ts:57
Custom resources
Inherited from
AzureArmDeployerParameters.customResources
deploymentName?
optionaldeploymentName?:string
Defined in: azure/src/deployers/arm.service.ts:49
Deployment name
Inherited from
AzureArmDeployerParameters.deploymentName
endpoint?
optionalendpoint?:string
Defined in: azure/src/deployers/arm.service.ts:33
Endpoint
Inherited from
AzureArmDeployerParameters.endpoint
entrypoint
entrypoint:
string[]
Defined in: oci/lib/container.service.d.ts:44
Entrypoint of the image
Default
["node", "<workdir>/node_modules/@webda/core/lib/bin/cli.js"]
Inherited from
AzureArmDeployerParameters.entrypoint
env
env:
Record<string,string>
Defined in: oci/lib/container.service.d.ts:56
Environment variables
Default
{ "NODE_ENV": "production" }
Inherited from
AzureArmDeployerParameters.env
environment
environment:
object={}
Defined in: azure/src/deployers/containerapps.service.ts:44
Environment
id?
optionalid?:string
name?
optionalname?:string
exposedPorts
exposedPorts:
string[]
Defined in: oci/lib/container.service.d.ts:71
Exposed ports
Default
["18080/tcp"]
Inherited from
AzureArmDeployerParameters.exposedPorts
image?
optionalimage?:string
Defined in: oci/lib/container.service.d.ts:23
Repository to push to, without tag: ghcr.io/my-org/my-app
Required to push.
Inherited from
AzureArmDeployerParameters.image
insecureRegistries
insecureRegistries:
string[]
Defined in: oci/lib/container.service.d.ts:110
Registries reached over plain http, localhost and 127.0.0.1 always are
Default
[]
Inherited from
AzureArmDeployerParameters.insecureRegistries
labels
labels:
Record<string,string>
Defined in: oci/lib/container.service.d.ts:61
Labels, added to the default OCI ones (version, revision, source, title)
Default
{}
Inherited from
AzureArmDeployerParameters.labels
location
location:
string="westeurope"
Defined in: azure/src/deployers/arm.service.ts:41
Location
Inherited from
AzureArmDeployerParameters.location
logAnalytics
logAnalytics:
false| {name?:string;retentionInDays?:number; } ={}
Defined in: azure/src/deployers/containerapps.service.ts:48
Log analytics
mtime?
optionalmtime?:number
Defined in: oci/lib/container.service.d.ts:96
Modification time of the files and creation time of the image, in seconds
Default
the SOURCE_DATE_EPOCH environment variable, or 0
Inherited from
AzureArmDeployerParameters.mtime
output
output:
string
Defined in: oci/lib/container.service.d.ts:85
Output of container build: an OCI layout folder, or a tar archive when ending with .tar
Relative to the application folder. The folder keeps the downloaded base layers between builds.
Default
".webda/oci/${deployer.name}"
Inherited from
AzureArmDeployerParameters.output
package
package:
PackageOptions
Defined in: oci/lib/container.service.d.ts:90
Options of the application packaging
Default
{}
Inherited from
AzureArmDeployerParameters.package
platforms
platforms:
string[]
Defined in: oci/lib/container.service.d.ts:77
Platforms to build, several platforms produce a multi-platform index
Default
["linux/amd64"]
Inherited from
AzureArmDeployerParameters.platforms
registry?
optionalregistry?:string
Defined in: azure/src/deployers/containerapps.service.ts:22
Registry
registryAuth
registryAuth:
"aad"|"identity"|"none"="aad"
Defined in: azure/src/deployers/containerapps.service.ts:26
Registry auth
resourceGroup
resourceGroup:
string
Defined in: azure/src/deployers/arm.service.ts:37
Resource group
Inherited from
AzureArmDeployerParameters.resourceGroup
resourceTags
resourceTags:
Record<string,string>
Defined in: azure/src/deployers/arm.service.ts:53
Resource tags
Inherited from
AzureArmDeployerParameters.resourceTags
secrets
secrets:
Record<string,string|SecretString| {identity:string;keyVaultUrl:string; }> ={}
Defined in: azure/src/deployers/containerapps.service.ts:52
Secrets
subscriptionId
subscriptionId:
string
Defined in: azure/src/deployers/arm.service.ts:29
Subscription ID
Inherited from
AzureArmDeployerParameters.subscriptionId
tags
tags:
string[]
Defined in: oci/lib/container.service.d.ts:32
Tags of the image
Invalid characters are replaced by -, so the snapshot version 1.2.4+20261004120000
becomes 1.2.4-20261004120000.
Default
["${git.version}"]
Inherited from
AzureArmDeployerParameters.tags
templateOutput?
optionaltemplateOutput?:string
Defined in: azure/src/deployers/arm.service.ts:61
Template output
Inherited from
AzureArmDeployerParameters.templateOutput
tenantId?
optionaltenantId?:string
Defined in: azure/src/deployers/arm.service.ts:17
Tenant ID
Inherited from
AzureArmDeployerParameters.tenantId
type
type:
string
Defined in: core/lib/services/serviceparameters.d.ts:9
Type of the service
Inherited from
AzureArmDeployerParameters.type
user?
optionaluser?:string
Defined in: oci/lib/container.service.d.ts:65
User the container runs as, the base image one by default
Inherited from
AzureArmDeployerParameters.user
workdir
workdir:
string
Defined in: oci/lib/container.service.d.ts:38
Folder of the application in the image
Default
"/app"
Inherited from
AzureArmDeployerParameters.workdir
Methods
load()
load(
params?):this
Defined in: azure/src/deployers/arm.service.ts:67
Perform load.
Parameters
params?
any = {}
Returns
this
Inherited from
AzureArmDeployerParameters.load
update()
update(
params,delta):this
Defined in: core/lib/application/parameters.d.ts:21
Update parameters and call watchers if a parameter was changed
Parameters
params
any
the service parameters
delta
any
the delta
Returns
this
this for chaining
Inherited from
AzureArmDeployerParameters.update
with()
with(
callback):this
Defined in: core/lib/application/parameters.d.ts:27
Watch for changes on the parameters and call watchers when a parameter is changed
Parameters
callback
(params) => void
the callback function
Returns
this
this for chaining