Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
O
oem_website_catalog
概览
概览
详情
活动
周期分析
版本库
存储库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
tools
catalogs
oem_website_catalog
Commits
3d13a0b6
提交
3d13a0b6
authored
5月 13, 2020
作者:
施泽锋
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
新增数据库自动导入开关
上级
35006dba
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
21 行增加
和
13 行删除
+21
-13
docker-compose.yml
templates/oem-website/0/docker-compose.yml
+3
-2
rancher-compose.yml
templates/oem-website/0/rancher-compose.yml
+18
-11
没有找到文件。
templates/oem-website/0/docker-compose.yml
浏览文件 @
3d13a0b6
...
@@ -21,13 +21,14 @@ services:
...
@@ -21,13 +21,14 @@ services:
DB_USER
:
${db_user}
DB_USER
:
${db_user}
DB_PWD
:
${db_pwd}
DB_PWD
:
${db_pwd}
DB_HOST
:
${db_host}
DB_HOST
:
${db_host}
DB_NAME
:
${db_name}
DB_NAME
:
new_website_oem
DB_TYPE
:
${db_type}
DB_TYPE
:
mysql
REDIS_HOST
:
${redis_host}
REDIS_HOST
:
${redis_host}
REDIS_PASS
:
${redis_pwd}
REDIS_PASS
:
${redis_pwd}
REDIS_PORT
:
6379
REDIS_PORT
:
6379
SYSTEM_API_KEY
:
${sys_api_key}
SYSTEM_API_KEY
:
${sys_api_key}
DEBUG
:
${debug_mode}
DEBUG
:
${debug_mode}
INIT_DB
:
${init_db_enable}
volumes
:
volumes
:
-
resources:/var/www/html/resources
-
resources:/var/www/html/resources
-
/tmp/wsy
-
/tmp/wsy
...
...
templates/oem-website/0/rancher-compose.yml
浏览文件 @
3d13a0b6
...
@@ -47,18 +47,25 @@ catalog:
...
@@ -47,18 +47,25 @@ catalog:
required
:
true
required
:
true
default
:
"
redis"
default
:
"
redis"
type
:
"
string"
type
:
"
string"
-
variable
:
db_name
-
variable
:
"
init_db_enable"
description
:
"
Mysql数据库名"
description
:
|
label
:
"
Mysql数据库名"
选择true/false 以 启用/禁用数据库自动导入.
label
:
"
数据库自动导入开关"
required
:
true
required
:
true
default
:
"
new_website_oem"
default
:
true
type
:
"
string"
type
:
"
boolean"
-
variable
:
db_type
# - variable: db_name
description
:
"
数据库类型"
# description: "Mysql数据库名"
label
:
"
数据库类型"
# label: "Mysql数据库名"
required
:
true
# required: true
default
:
"
mysql"
# default: "new_website_oem"
type
:
"
string"
# type: "string"
# - variable: db_type
# description: "数据库类型"
# label: "数据库类型"
# required: true
# default: "mysql"
# type: "string"
-
variable
:
docker_registry
-
variable
:
docker_registry
description
:
"
仓库加速节点"
description
:
"
仓库加速节点"
label
:
"
仓库地址"
label
:
"
仓库地址"
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论