generated from aliyun-computenest/quickstart-demo
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from workhardliuzheng/main
参数管结合docker compose
- Loading branch information
Showing
4 changed files
with
161 additions
and
184 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
ServiceType: private | ||
AllowedRegions: | ||
- ap-southeast-1 | ||
RoleName: ComputeNestDeploy | ||
ZoneId: ap-southeast-1a | ||
VpcId: vpc-t4nqpdxw25u2i6eidt6yo | ||
ServiceType: managed | ||
VSwitchId: vsw-t4nr1hmvcmvknt43ebmhw | ||
ArtifactSourceType: DockerCompose | ||
RepoName: aliyun-computenest/mongodb | ||
ServiceBuildRegion: ap-southeast-1 | ||
RepoName: workhardliuzheng/mongodb | ||
DockerComposeEnvPath: .env.example | ||
RegionId: cn-hangzhou | ||
CustomParameters: | ||
- NoEcho: false | ||
Type: String | ||
AllowedValues: | ||
- root | ||
- master | ||
- main | ||
AllowedPattern: '' | ||
Label: UserName | ||
Label: 用户名 | ||
ConstraintDescription: '' | ||
Default: admin | ||
Default: root | ||
Name: MONGO_INITDB_ROOT_USERNAME | ||
- NoEcho: true | ||
Type: String | ||
AssociationProperty: ALIYUN::ECS::Instance::Password | ||
AllowedPattern: '' | ||
Label: Password | ||
ConstraintDescription: '' | ||
Name: MONGO_INITDB_ROOT_PASSWORD | ||
DockerComposeYamlPath: docker-compose.yaml | ||
Owner: Alicloud-ComputeNest | ||
Owner: workhardliuzheng | ||
Branch: main | ||
Platform: github |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
ROSTemplateFormatVersion: '2015-09-01' | ||
# 定义参数 | ||
Parameters: | ||
RoleName: | ||
Type: String | ||
Label: | ||
en: Role Name | ||
zh-cn: 角色名 | ||
AssociationProperty: ALIYUN::RAM::Service::Role | ||
AssociationPropertyMetadata: | ||
Service: supplier.computenest.aliyuncs.com | ||
APIProduct: resourcegroup | ||
IsServiceLinedRole: false | ||
Description: 请前往RAM控制台创建角色,角色需拥有上述模板定义的资源所需的创建权限。<a href='https://help.aliyun.com/zh/compute-nest/create-a-compute-nest-ram-role-and-grant-permissions-to-the-role' target='_blank'><b> 查看文档</b><font color='blue'></a> | ||
# 可用区 | ||
ZoneId: | ||
Type: String | ||
AssociationProperty: ALIYUN::ECS::Instance:ZoneId | ||
Label: | ||
en: VSwitch Available Zone | ||
zh-cn: 可用区 | ||
# VPC实例ID | ||
VpcId: | ||
AssociationProperty: ALIYUN::ECS::VPC::VPCId | ||
Type: String | ||
Label: | ||
en: VPC ID | ||
zh-cn: 专有网络VPC实例ID | ||
# 交换机实例ID | ||
VSwitchId: | ||
AssociationProperty: ALIYUN::ECS::VSwitch::VSwitchId | ||
AssociationPropertyMetadata: | ||
VpcId: ${VpcId} | ||
ZoneId: ${ZoneId} | ||
Type: String | ||
Label: | ||
en: VSwitch ID | ||
zh-cn: 交换机实例ID | ||
Metadata: | ||
ALIYUN::ROS::Interface: | ||
# 定义资源分组,创建服务实例时,同一分组的参数分布在一起 | ||
ParameterGroups: | ||
- Parameters: | ||
- RoleName | ||
Label: | ||
en: Basic Configuration | ||
zh-cn: 基础配置 | ||
- Parameters: | ||
- ZoneId | ||
- VpcId | ||
- VSwitchId | ||
Label: | ||
en: Network Configuration | ||
zh-cn: 网络配置 |
Oops, something went wrong.