提交 df49b7c0 作者: Administrator

new code new BUG!

上级 5c403345
version: '2'
volumes:
zentao_data:
driver: ${volume_driver}
zentao_mysql:
driver: ${volume_driver}
services:
zentao-db:
image: mysql:5.6
environment:
MYSQL_ROOT_PASSWORD: ${db_password}
stdin_open: true
volumes:
- zentao_mysql:/var/lib/mysql
tty: true
labels:
io.rancher.container.pull_image: always
redis:
image: bitnami/redis:4.0
environment:
REDIS_PASSWORD: ${redis_password}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
zentao-app:
image: reg.wsy010.cn/zentao/zentaopms:11.3
environment:
DEBUG: ${debug_mode}
DB_HOST: ${db_host}
DB_PORT: ${db_port}
DB_NAME: ${db_pr}${db_name}
DB_USER: ${db_user}
DB_PASSWORD: ${db_pwd}
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload_size}
stdin_open: true
volumes:
- zentao_data:/var/www/html/zentaopms/www/data/upload
tty: true
logging:
driver: json-file
options:
max-file: '3'
max-size: 100m
labels:
traefik.frontend.rule: Host:${host_url}
traefik.port: '80'
traefik.enable: 'true'
version: '2'
catalog:
name: "zentaopms |企业云平台"
version: "11.2"
description: "微三云企业云平台,共享价值链接器 开启未来商业秘密。"
minimum_rancher_version: v0.51.0
questions:
- variable: host_url
description: "应用对外服务所使用的域名,多个域名用英文逗号分开,不用加http/https"
label: "绑定域名"
required: true
default: ""
type: "string"
- variable: db_pr
description: "数据库前缀,用于共享数据库实例,如:test_ 默认情况不用填"
label: "数数据库前缀"
required: false
default: ""
type: "string"
- variable: db_host
description: "数据库连接地址,应用内可直接使用服务名"
label: "数据库连接地址"
required: true
default: "zentao-db"
type: "string"
- variable: db_user
description: "数据库账号,首次运行会自动创建"
label: "数据库账号"
required: true
default: "root"
type: "string"
- variable: db_pwd
description: "数据库密码,首次运行会自动创建"
label: "数据库密码"
required: true
default: ""
type: "password"
- variable: redis_host
description: "redis数据库连接地址"
label: "redis数据库连接地址"
required: true
default: "redis"
type: "string"
- variable: redis_pass
description: "redis数据库密码"
label: "redis数据库密码"
required: true
default: ""
type: "password"
- variable: upload_size
description: "PHP及商城文件上传大小限制,单位为M"
label: "文件上传大小限制"
required: true
default: "50"
type: "string"
- variable: volume_driver
description: "应用数据存储卷驱动程序,根据实际情况选择"
label: "存储卷驱动"
required: true
default: "rancher-nfs"
type: enum
options:
- rancher-nfs
- rancher-efs
- rancher-ebs
- local
- variable: debug_mode
description: "debug模式,生产环境慎用!"
label: "debug模式"
required: true
default: "false"
type: enum
options:
- true
- false
- readonly
services:
zentao-db:
scale: 1
start_on_create: true
health_check:
response_timeout: 2000
healthy_threshold: 2
port: 3306
unhealthy_threshold: 3
initializing_timeout: 60000
interval: 2000
strategy: recreate
reinitializing_timeout: 60000
redis:
scale: 1
start_on_create: true
zentao-app:
scale: 1
start_on_create: true
health_check:
healthy_threshold: 2
response_timeout: 2000
port: 80
unhealthy_threshold: 3
initializing_timeout: 60000
interval: 2000
strategy: recreate
request_line: GET "/" "HTTP/1.0"
reinitializing_timeout: 60000
# 欢迎使用微三云企业云平台
**微三云企业云平台** 炮厂赵总率领一众大触历时一年写的,专为企业赚大钱的系统
v1.0.0-beta
更新内容:
- **上线了** :Hello BUG!;
name: zentao | 禅道项目管理系统
description: |
描述是抄的。
version: 11.2
category: CMS
maintainer: 微三云
projectURL: www.weisanyun.com
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论