跳至主要内容

Create container stack

POST 

/platform/solutions/api/v1/orgs/{orgId}/docker-settings/stacks-configs

Overview: Creates a new container stack with automatic version assignment.

• No duplicate stack names allowed: Stack name must be unique across all versions

• Auto-versioning: Version is automatically assigned starting from 1

• ComposeFileContent: Must be valid Base64 encoded Docker Compose content

• Environment: Optional key-value pairs for environment variables

• Stack Naming Rules: Must follow Docker container naming rules:

  1. Stack name may contain lowercase letters, digits and hyphen (-)

  2. Stack name may not start or end with a hyphen (-)

  3. Stack name cannot contain consecutive hyphens (-)

  4. Maximum length of 63 characters

Request

Responses

OK