共用方式為


CustomApplications 類別

指定自訂服務應用程式組態。

繼承
builtins.object
CustomApplications

建構函式

CustomApplications(*, name: str, image: ImageSettings, type: str = 'docker', endpoints: List[EndpointsSettings], environment_variables: Dict | None = None, bind_mounts: List[VolumeSettings] | None = None, **kwargs: Any)

參數

名稱 Description
name
必要
str

自訂應用程式的名稱。

image
必要

描述影像規格。

type
必要

自訂應用程式的類型。

endpoints
必要

設定容器的端點。

environment_variables
必要

容器的環境變數。

bind_mounts
必要

設定容器的系結掛接。

僅限關鍵字參數

名稱 Description
name
必要
image
必要
type
預設值: docker
endpoints
必要
environment_variables
必要
bind_mounts
必要