提交 f674d4dd 作者: 429287088

2

上级 cfad9cb0
version: '2' version: '2'
catalog: catalog:
name: "DanPin" name: "Blockchain |企业区块链积分系统"
version: "v0.2-beta" version: "v1.2.0_181102"
description: "微三云单品/爆品商城,让再小的商家也有自己的大数据。" description: "微三云区块链积分系统,共享价值链接器 开启未来商业秘密。"
uuid: WordPress-1
minimum_rancher_version: v0.51.0 minimum_rancher_version: v0.51.0
questions: questions:
- variable: host_url - variable: host_url
...@@ -13,16 +12,16 @@ catalog: ...@@ -13,16 +12,16 @@ catalog:
default: "" default: ""
type: "string" type: "string"
- variable: db_host - variable: db_host
description: "数据库连接地址,同一应用内可直接使用服务名" description: "数据库连接地址,应用内可直接使用服务名"
label: "数据库连接地址" label: "数据库连接地址"
required: true required: true
default: "dp-db" default: "bc-db"
type: "string" type: "string"
- variable: db_name - variable: db_name
description: "数据库名称" description: "数据库名称"
label: "数据库名称" label: "数据库名称"
required: true required: true
default: "yidui" default: "wsy_blockchain"
type: "string" type: "string"
- variable: db_user - variable: db_user
description: "数据库账号,首次运行会自动创建" description: "数据库账号,首次运行会自动创建"
...@@ -40,7 +39,7 @@ catalog: ...@@ -40,7 +39,7 @@ catalog:
description: "redis数据库连接地址" description: "redis数据库连接地址"
label: "redis数据库连接地址" label: "redis数据库连接地址"
required: true required: true
default: "dp-redis" default: "bc-redis"
type: "string" type: "string"
- variable: redis_pwd - variable: redis_pwd
description: "redis数据库密码" description: "redis数据库密码"
...@@ -48,17 +47,47 @@ catalog: ...@@ -48,17 +47,47 @@ catalog:
required: true required: true
default: "" default: ""
type: "string" type: "string"
- variable: mp_veryfy - variable: mq_host
description: "微信js接口认证授权码,(MP_VERYFY_xxxx),可后期再填写" description: "消息队列服务器地址,应用内可直接使用服务名"
label: "微信js授权码" label: "消息队列服务器地址"
required: true
default: "bc-mq-server"
type: "string"
- variable: mq_vhost
description: "消息队列虚拟主机名"
label: "消息队列虚拟主机"
required: true
default: "my_vhost"
type: "string"
- variable: mq_user
description: "消息队列账号"
label: "消息队列账号"
required: true
default: "mquser"
type: "string"
- variable: mq_pass
description: "消息队列密码"
label: "消息队列密码"
required: true
default: ""
type: "string"
- variable: dan_pin_link
description: "对接单品系统域名(如有),如:www.abc.com 不用带http/https"
label: "单品系统域名"
required: false required: false
default: "" default: ""
type: "string" type: "string"
- variable: java_trustsql_url
description: "TrustSQL api 域名"
label: "TrustSQL api 域名"
required: true
default: "http://bc-sdk:8080"
type: "string"
- variable: upload_size - variable: upload_size
description: "PHP及商城文件上传大小限制,单位为M" description: "PHP及商城文件上传大小限制,单位为M"
label: "文件上传大小限制" label: "文件上传大小限制"
required: true required: true
default: "30" default: "50"
type: "string" type: "string"
- variable: volume_driver - variable: volume_driver
description: "应用数据卷驱动程序" description: "应用数据卷驱动程序"
...@@ -72,15 +101,28 @@ catalog: ...@@ -72,15 +101,28 @@ catalog:
- rancher-ebs - rancher-ebs
- local - local
services: services:
dp-app: bc-redis:
scale: 1
start_on_create: true
bc-task:
scale: 1 scale: 1
start_on_create: true start_on_create: true
dp-redis: bc-app:
scale: 1 scale: 1
start_on_create: true start_on_create: true
dp-task: bc-db:
scale: 1 scale: 1
start_on_create: true start_on_create: true
dp-db: bc-sdk:
scale: 1 scale: 1
start_on_create: true start_on_create: true
health_check:
healthy_threshold: 2
response_timeout: 2000
port: 8080
unhealthy_threshold: 3
initializing_timeout: 60000
interval: 2000
strategy: recreate
request_line: GET "/blockchain/" "HTTP/1.0"
reinitializing_timeout: 60000
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论