Reference

Reference: runtime type container

tenants[].applications[].routes[].runtime<container>.command

Syntaxcommand: [<string>, ...]
Default[]
Contexttenants[].applications[].routes[].runtime (type: container)
Reloadapplies on reload

Arguments after the image; {port} is replaced by the port scalws chose.

tenants[].applications[].routes[].runtime<container>.drop_capabilities

Syntaxdrop_capabilities: true | false
Defaultfalse
Contexttenants[].applications[].routes[].runtime (type: container)
Reloadapplies on reload

Drop all Linux capabilities.

tenants[].applications[].routes[].runtime<container>.engine

Syntaxengine: podman | docker
Defaultpodman
Contexttenants[].applications[].routes[].runtime (type: container)
Reloadapplies on reload

Container engine: podman or docker.

tenants[].applications[].routes[].runtime<container>.engine_path

Syntaxengine_path: <string>
Defaultnone
Contexttenants[].applications[].routes[].runtime (type: container)
Reloadapplies on reload

Engine binary; default podman / docker from PATH.

tenants[].applications[].routes[].runtime<container>.env

Syntaxenv: {<key>: <string>, ...}
Defaultempty
Contexttenants[].applications[].routes[].runtime (type: container)
Reloadapplies on reload

Environment variables for the containers.

tenants[].applications[].routes[].runtime<container>.health_path

Syntaxhealth_path: <string>
Defaultnone
Contexttenants[].applications[].routes[].runtime (type: container)
Reloadapplies on reload

Path requested to decide that a container is ready and healthy.

tenants[].applications[].routes[].runtime<container>.image

Syntaximage: <string>
Defaultrequired
Contexttenants[].applications[].routes[].runtime (type: container)
Reloadapplies on reload

Image reference, e.g. docker.io/library/nginx:1.27.

tenants[].applications[].routes[].runtime<container>.mounts

Syntaxmounts: [{...}, ...]
Default[]
Contexttenants[].applications[].routes[].runtime (type: container)
Reloadapplies on reload

Host directories mounted into the containers.

tenants[].applications[].routes[].runtime<container>.mounts[].read_only

Syntaxread_only: true | false
Defaulttrue
Contexttenants[].applications[].routes[].runtime<container>.mounts[]
Reloadapplies on reload

Mount read-only.

tenants[].applications[].routes[].runtime<container>.mounts[].source

Syntaxsource: <string>
Defaultrequired
Contexttenants[].applications[].routes[].runtime<container>.mounts[]
Reloadapplies on reload

Host path (absolute).

tenants[].applications[].routes[].runtime<container>.mounts[].target

Syntaxtarget: <string>
Defaultrequired
Contexttenants[].applications[].routes[].runtime<container>.mounts[]
Reloadapplies on reload

Path inside the container (absolute).

tenants[].applications[].routes[].runtime<container>.network

Syntaxnetwork: bridge | host
Defaultbridge
Contexttenants[].applications[].routes[].runtime (type: container)
Reloadapplies on reload

bridge: publish port on a loopback port; host: share the host network.

tenants[].applications[].routes[].runtime<container>.port

Syntaxport: <integer>
Defaultnone
Contexttenants[].applications[].routes[].runtime (type: container)
Reloadapplies on reload

Port the application listens on inside the container (bridge networking).

tenants[].applications[].routes[].runtime<container>.pull

Syntaxpull: missing | always | never
Defaultmissing
Contexttenants[].applications[].routes[].runtime (type: container)
Reloadapplies on reload

When the image is pulled: missing, always or never.

tenants[].applications[].routes[].runtime<container>.read_only

Syntaxread_only: true | false
Defaultfalse
Contexttenants[].applications[].routes[].runtime (type: container)
Reloadapplies on reload

Read-only root filesystem (a tmpfs is mounted at /tmp).

tenants[].applications[].routes[].runtime<container>.response_timeout

Syntaxresponse_timeout: <duration> (e.g. 30s)
Default60s
Contexttenants[].applications[].routes[].runtime (type: container)
Reloadapplies on reload

Time to wait for the response headers of the application.

tenants[].applications[].routes[].runtime<container>.startup_timeout

Syntaxstartup_timeout: <duration> (e.g. 30s)
Default120s
Contexttenants[].applications[].routes[].runtime (type: container)
Reloadapplies on reload

Time a container gets to become ready (includes pulling the image).

tenants[].applications[].routes[].runtime<container>.stop_timeout

Syntaxstop_timeout: <duration> (e.g. 30s)
Default10s
Contexttenants[].applications[].routes[].runtime (type: container)
Reloadapplies on reload

Time a container gets to stop before it is killed.

tenants[].applications[].routes[].runtime<container>.user

Syntaxuser: <string>
Defaultnone
Contexttenants[].applications[].routes[].runtime (type: container)
Reloadapplies on reload

User the container runs as (--user).

tenants[].applications[].routes[].runtime<container>.workers

Syntaxworkers: {...}
Defaultnone
Contexttenants[].applications[].routes[].runtime (type: container)
Reloadapplies on reload

Number of containers (min at start; scaled between min and max).

tenants[].applications[].routes[].runtime<container>.workers.autoscale

Syntaxautoscale: off | auto | recommend
Defaultrecommend
Contexttenants[].applications[].routes[].runtime<container>.workers
Reloadapplies on reload

off, recommend (default) or auto (ADR-0014).

tenants[].applications[].routes[].runtime<container>.workers.max

Syntaxmax: <integer>
Defaultrequired
Contexttenants[].applications[].routes[].runtime<container>.workers
Reloadapplies on reload

Upper bound when the pool is scaled.

tenants[].applications[].routes[].runtime<container>.workers.min

Syntaxmin: <integer>
Defaultrequired
Contexttenants[].applications[].routes[].runtime<container>.workers
Reloadapplies on reload

Processes started at the beginning and kept at least.

tenants[].applications[].routes[].runtime<container>.workers.target_concurrency

Syntaxtarget_concurrency: <integer>
Defaultnone
Contexttenants[].applications[].routes[].runtime<container>.workers
Reloadapplies on reload

Concurrent requests one worker is expected to handle well (utilisation basis).

tenants[].applications[].runtime<container>.command

Syntaxcommand: [<string>, ...]
Default[]
Contexttenants[].applications[].runtime (type: container)
Reloadapplies on reload

Arguments after the image; {port} is replaced by the port scalws chose.

tenants[].applications[].runtime<container>.drop_capabilities

Syntaxdrop_capabilities: true | false
Defaultfalse
Contexttenants[].applications[].runtime (type: container)
Reloadapplies on reload

Drop all Linux capabilities.

tenants[].applications[].runtime<container>.engine

Syntaxengine: podman | docker
Defaultpodman
Contexttenants[].applications[].runtime (type: container)
Reloadapplies on reload

Container engine: podman or docker.

tenants[].applications[].runtime<container>.engine_path

Syntaxengine_path: <string>
Defaultnone
Contexttenants[].applications[].runtime (type: container)
Reloadapplies on reload

Engine binary; default podman / docker from PATH.

tenants[].applications[].runtime<container>.env

Syntaxenv: {<key>: <string>, ...}
Defaultempty
Contexttenants[].applications[].runtime (type: container)
Reloadapplies on reload

Environment variables for the containers.

tenants[].applications[].runtime<container>.health_path

Syntaxhealth_path: <string>
Defaultnone
Contexttenants[].applications[].runtime (type: container)
Reloadapplies on reload

Path requested to decide that a container is ready and healthy.

tenants[].applications[].runtime<container>.image

Syntaximage: <string>
Defaultrequired
Contexttenants[].applications[].runtime (type: container)
Reloadapplies on reload

Image reference, e.g. docker.io/library/nginx:1.27.

tenants[].applications[].runtime<container>.mounts

Syntaxmounts: [{...}, ...]
Default[]
Contexttenants[].applications[].runtime (type: container)
Reloadapplies on reload

Host directories mounted into the containers.

tenants[].applications[].runtime<container>.mounts[].read_only

Syntaxread_only: true | false
Defaulttrue
Contexttenants[].applications[].runtime<container>.mounts[]
Reloadapplies on reload

Mount read-only.

tenants[].applications[].runtime<container>.mounts[].source

Syntaxsource: <string>
Defaultrequired
Contexttenants[].applications[].runtime<container>.mounts[]
Reloadapplies on reload

Host path (absolute).

tenants[].applications[].runtime<container>.mounts[].target

Syntaxtarget: <string>
Defaultrequired
Contexttenants[].applications[].runtime<container>.mounts[]
Reloadapplies on reload

Path inside the container (absolute).

tenants[].applications[].runtime<container>.network

Syntaxnetwork: bridge | host
Defaultbridge
Contexttenants[].applications[].runtime (type: container)
Reloadapplies on reload

bridge: publish port on a loopback port; host: share the host network.

tenants[].applications[].runtime<container>.port

Syntaxport: <integer>
Defaultnone
Contexttenants[].applications[].runtime (type: container)
Reloadapplies on reload

Port the application listens on inside the container (bridge networking).

tenants[].applications[].runtime<container>.pull

Syntaxpull: missing | always | never
Defaultmissing
Contexttenants[].applications[].runtime (type: container)
Reloadapplies on reload

When the image is pulled: missing, always or never.

tenants[].applications[].runtime<container>.read_only

Syntaxread_only: true | false
Defaultfalse
Contexttenants[].applications[].runtime (type: container)
Reloadapplies on reload

Read-only root filesystem (a tmpfs is mounted at /tmp).

tenants[].applications[].runtime<container>.response_timeout

Syntaxresponse_timeout: <duration> (e.g. 30s)
Default60s
Contexttenants[].applications[].runtime (type: container)
Reloadapplies on reload

Time to wait for the response headers of the application.

tenants[].applications[].runtime<container>.startup_timeout

Syntaxstartup_timeout: <duration> (e.g. 30s)
Default120s
Contexttenants[].applications[].runtime (type: container)
Reloadapplies on reload

Time a container gets to become ready (includes pulling the image).

tenants[].applications[].runtime<container>.stop_timeout

Syntaxstop_timeout: <duration> (e.g. 30s)
Default10s
Contexttenants[].applications[].runtime (type: container)
Reloadapplies on reload

Time a container gets to stop before it is killed.

tenants[].applications[].runtime<container>.user

Syntaxuser: <string>
Defaultnone
Contexttenants[].applications[].runtime (type: container)
Reloadapplies on reload

User the container runs as (--user).

tenants[].applications[].runtime<container>.workers

Syntaxworkers: {...}
Defaultnone
Contexttenants[].applications[].runtime (type: container)
Reloadapplies on reload

Number of containers (min at start; scaled between min and max).

tenants[].applications[].runtime<container>.workers.autoscale

Syntaxautoscale: off | auto | recommend
Defaultrecommend
Contexttenants[].applications[].runtime<container>.workers
Reloadapplies on reload

off, recommend (default) or auto (ADR-0014).

tenants[].applications[].runtime<container>.workers.max

Syntaxmax: <integer>
Defaultrequired
Contexttenants[].applications[].runtime<container>.workers
Reloadapplies on reload

Upper bound when the pool is scaled.

tenants[].applications[].runtime<container>.workers.min

Syntaxmin: <integer>
Defaultrequired
Contexttenants[].applications[].runtime<container>.workers
Reloadapplies on reload

Processes started at the beginning and kept at least.

tenants[].applications[].runtime<container>.workers.target_concurrency

Syntaxtarget_concurrency: <integer>
Defaultnone
Contexttenants[].applications[].runtime<container>.workers
Reloadapplies on reload

Concurrent requests one worker is expected to handle well (utilisation basis).