project | +project | object | -- _REQUIRED, if a whole project is imported_ - Only one project can be defined. - | +_REQUIRED, if a whole project is imported_ Only one project can be defined. |
|
name | +name | string, REQUIRED | -- The name of the new project. Duplicates are allowed. - | +The name of the new project. Duplicates are allowed. | |
description | -string | -- Description of the new project. - | +description | +string | +Description of the new project. | +
corePackage | +string | +Core package of the new project. Values: LIGHT/SERIOUS (default LIGHT) |
|||
tags | +tags | list of strings | -- One or more string tags. Tags do not have a functional meaning, they only provide better orientation in projects. - | +One or more string tags. Tags do not have a functional meaning, they only provide better orientation in projects. |
services | +services | list of objects, REQUIRED | -- At least one service is required. - | +At least one service is required. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
hostname | +hostname | string, REQUIRED | The unique service identifier. @@ -236,36 +231,27 @@ The service configuration is used to define the services, environment variables, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
type | +type | enum, REQUIRED | -- Specifies the service type and version. See [supported types](/references/importyml/type-list). - | +Specifies the service type and version. See [supported types](/references/importyml/type-list). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
mode | +mode | enum | -- Values: **HA / NON_HA** (default NON_HA) - Defines the operation mode of the service. - | +Values: HA / NON_HA (default NON_HA) Defines the operation mode of the service. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
envSecrets | +envSecrets | map[string]string | -- Environment variables that are blurred by default in Zerops GUI. Can be edited or deleted in Zerops GUI. - | +Environment variables that are blurred by default in Zerops GUI. Can be edited or deleted in Zerops GUI. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
objectStorageSize | +objectStorageSize | integer | -- Object storage size in GB. - | +Object storage size in GB. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
objectStoragePolicy | +objectStoragePolicy | enum | Values: **private / public-read / public-objects-read / public-write / public-read-write / custom** @@ -273,7 +259,7 @@ The service configuration is used to define the services, environment variables, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
objectStorageRawPolicy | +objectStorageRawPolicy | json | Define your own AWS S3 bucket access policy. See [AWS docs](https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-policy-language-overview.html) for details. @@ -281,14 +267,14 @@ The service configuration is used to define the services, environment variables, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
buildFromGit | +buildFromGit | string (URL) | A URL of a Github or Gitlab repository used for a one-time build of your service. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
enableSubdomainAccess | +enableSubdomainAccess | boolean | Default: false @@ -296,7 +282,7 @@ The service configuration is used to define the services, environment variables, | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
priority | +priority | integer |
Services are sorted before creation by priority in descending order, i.e. the higher the priority the sooner the service is created.
@@ -355,7 +341,7 @@ The vertical autoscaling configuration is used to define the vertical autoscalin
#### Usage
|