Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
G
guanyun
概览
概览
详情
活动
周期分析
版本库
存储库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
tools
catalogs
guanyun
Commits
0310a604
提交
0310a604
authored
12月 23, 2021
作者:
黄润秋
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
1
上级
be10f899
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
163 行增加
和
1 行删除
+163
-1
docker-compose.yml
templates/guanyun/7/docker-compose.yml
+87
-0
rancher-compose.yml
templates/guanyun/7/rancher-compose.yml
+75
-0
config.yml
templates/guanyun/config.yml
+1
-1
没有找到文件。
templates/guanyun/7/docker-compose.yml
0 → 100644
浏览文件 @
0310a604
{{
- $redisImage
:
=printf "%s/redis
:
4.0.11" .Values.docker_registry
}}
{{
- $dbImage
:
=printf "%s/mysql
:
5.6" .Values.docker_registry
}}
{{
- $timmerImage
:
=printf "%s/task
:
alpine" .Values.docker_registry
}}
{{
- $htmlImage
:
=printf "%s/html
:
1.8.0" .Values.docker_registry
}}
{{
- $guanyunImage
:
=printf "%s/guanyun
:
1.2.4" .Values.docker_registry
}}
version
:
'
2'
services
:
{{
- if eq .Values.db_host "db-mysql"
}}
db-mysql
:
image
:
{{
$dbImage
}}
environment
:
LANG
:
C.UTF-8
MYSQL_ROOT_PASSWORD
:
${db_pwd}
MY_CNF
:
'
[mysqld]\nmax_allowed_packet
=
30M\nft_min_word_len
=
1\nmax_connections=1200'
stdin_open
:
true
volumes
:
-
db-mysql:/var/lib/mysql
tty
:
true
labels
:
io.rancher.container.pull_image
:
always
{{
- end
}}
{{
- if eq .Values.redis_host "redis"
}}
redis
:
image
:
{{
$redisImage
}}
environment
:
REDIS_PASSWORD
:
${redis_pass}
stdin_open
:
true
tty
:
true
labels
:
io.rancher.container.pull_image
:
always
{{
- end
}}
html
:
image
:
{{
$htmlImage
}}
stdin_open
:
true
tty
:
true
labels
:
traefik.enable
:
true
traefik.frontend.rule
:
'
Host:${host_url};
PathPrefix:
/HTML/'
traefik.port
:
80
io.rancher.container.pull_image
:
always
aliyun.logs.html
:
stdout
aliyun.logs.html.tags
:
logtype=apache
timmer
:
image
:
{{
$timmerImage
}}
environment
:
TASK_CNF
:
'
*/1
*
*
*
*
wget
--spider
'
'
http://guanyun/guanyun/task/index.php?m=task_dispatch&a=run_task'
'
'
stdin_open
:
true
tty
:
true
labels
:
io.rancher.container.pull_image
:
always
guanyun
:
image
:
{{
$guanyunImage
}}
environment
:
APP_INTRANET_DOMAIN
:
http://guanyun
WSY_GUANYUN
:
new_guanyun
WSY_CHANNEL
:
new_channel
DB_TYPE
:
mysql
DB_HOST
:
${db_host}
DB_PORT
:
3306
DB_PWD
:
${db_pwd}
DB_USER
:
${db_user}
REDIS_HOST
:
${redis_host}
REDIS_PASS
:
${redis_pass}
REDIS_PORT
:
6379
DEBUG
:
${debugger_mode}
CRM_DOMAIN
:
http://admin.dgshanger.com:8080/
stdin_open
:
true
volumes
:
-
resources:/var/www/html/resources
-
/tmp/wsy
tty
:
true
labels
:
traefik.frontend.rule
:
'
Host:${host_url};'
traefik.port
:
80
traefik.enable
:
true
io.rancher.container.pull_image
:
always
aliyun.logs.guanyun
:
stdout
aliyun.logs.guanyun.tags
:
logtype=apache
aliyun.logs.wsylog
:
/tmp/wsy/*/*.log
aliyun.logs.wsylog.format
:
json
volumes
:
resources
:
driver
:
${volume_driver}
db-mysql
:
driver
:
${volume_driver}
templates/guanyun/7/rancher-compose.yml
0 → 100644
浏览文件 @
0310a604
version
:
'
2'
catalog
:
name
:
"
guanyun
|莞云应用系统"
version
:
"
1.2.4"
description
:
"
莞云企业云平台,共享价值链接器
开启未来商业秘密。"
minimum_rancher_version
:
v0.51.0
questions
:
-
variable
:
host_url
description
:
"
应用对外服务所使用的域名,多个域名用英文逗号分开,不用加http/https"
label
:
"
绑定域名"
required
:
true
default
:
"
"
type
:
"
string"
-
variable
:
db_host
description
:
|
数据库连接地址.
label
:
"
数据库连接地址"
required
:
true
default
:
"
db-mysql"
type
:
"
string"
-
variable
:
db_user
description
:
|
数据库帐号.
label
:
"
数据库帐号"
required
:
true
default
:
"
root"
type
:
"
string"
-
variable
:
db_pwd
description
:
"
数据库密码"
label
:
"
数据库密码"
required
:
true
default
:
"
"
type
:
"
string"
-
variable
:
redis_host
description
:
"
redis数据库连接地址"
label
:
"
redis数据库连接地址"
required
:
true
default
:
"
redis"
type
:
"
string"
-
variable
:
redis_pass
description
:
"
redis数据库密码"
label
:
"
redis数据库密码"
required
:
true
default
:
"
"
type
:
"
string"
-
variable
:
docker_registry
description
:
"
仓库加速节点"
label
:
"
仓库地址"
required
:
true
default
:
"
registry.cn-shenzhen.aliyuncs.com/wsy_dev"
type
:
enum
options
:
-
registry.cn-shenzhen.aliyuncs.com/wsy_dev
-
reg.wsy010.cn/wsycloud
-
variable
:
volume_driver
description
:
"
应用数据存储卷驱动程序,根据实际情况选择"
label
:
"
存储卷驱动"
required
:
true
default
:
"
rancher-nfs"
type
:
enum
options
:
-
rancher-nfs
-
rancher-efs
-
rancher-ebs
-
local
-
variable
:
debugger_mode
description
:
"
debug模式,生产环境慎用!"
label
:
"
debug模式"
required
:
true
default
:
"
false"
type
:
enum
options
:
-
false
-
readonly
\ No newline at end of file
templates/guanyun/config.yml
浏览文件 @
0310a604
name
:
wsycloud | 莞云应用服务系统
description
:
|
莞云应用服务系统
version
:
1.2.
3
version
:
1.2.
4
category
:
CMS
maintainer
:
莞云应用系统
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论