提交 f4d6ffeb 作者: 施泽锋

111

上级 ee5fde90
version: '2'
{{- $webImage:="super_admin:1.0.0" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: '3306'
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet =30M'
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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao
*/1 * * * * wget --spider http://super-admin/task/msg_push/index
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "1.0.0"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:1.1.2" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: '3306'
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet =30M'
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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao
*/1 * * * * wget --spider http://super-admin/task/msg_push/index
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "1.1.2"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:1.8.3" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: '3306'
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
*/10 * * * * wget --spider http://super-admin/task/user_vip/expire_tip.html
0 */4 * * * wget --spider http://super-admin/task/deal_hot_news/update_user_fans.html
*/1 * * * * wget --spider http://super-admin/task/export_excel/export.html
*/30 * * * * wget --spider http://super-admin/task/im/register.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "1.8.3"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:1.8.4" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: '3306'
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
*/10 * * * * wget --spider http://super-admin/task/user_vip/expire_tip.html
0 */4 * * * wget --spider http://super-admin/task/deal_hot_news/update_user_fans.html
*/1 * * * * wget --spider http://super-admin/task/export_excel/export.html
*/30 * * * * wget --spider http://super-admin/task/im/register.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "1.8.4"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:1.8.5" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: '3306'
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
*/10 * * * * wget --spider http://super-admin/task/user_vip/expire_tip.html
0 */4 * * * wget --spider http://super-admin/task/deal_hot_news/update_user_fans.html
*/1 * * * * wget --spider http://super-admin/task/export_excel/export.html
*/30 * * * * wget --spider http://super-admin/task/im/register.html
0 6 * * * wget --spider http://super-admintask/push_data/remove_old_data.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "1.8.5"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:1.8.6" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: '3306'
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
*/10 * * * * wget --spider http://super-admin/task/user_vip/expire_tip.html
0 */4 * * * wget --spider http://super-admin/task/deal_hot_news/update_user_fans.html
*/1 * * * * wget --spider http://super-admin/task/export_excel/export.html
*/30 * * * * wget --spider http://super-admin/task/im/register.html
0 6 * * * wget --spider http://super-admintask/push_data/remove_old_data.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "1.8.6"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:1.9.1" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: '3306'
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
*/10 * * * * wget --spider http://super-admin/task/user_vip/expire_tip.html
0 */4 * * * wget --spider http://super-admin/task/deal_hot_news/update_user_fans.html
*/1 * * * * wget --spider http://super-admin/task/export_excel/export.html
*/30 * * * * wget --spider http://super-admin/task/im/register.html
0 6 * * * wget --spider http://super-admintask/push_data/remove_old_data.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "1.9.1"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:1.9.2" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: '3306'
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
*/10 * * * * wget --spider http://super-admin/task/user_vip/expire_tip.html
0 */4 * * * wget --spider http://super-admin/task/deal_hot_news/update_user_fans.html
*/1 * * * * wget --spider http://super-admin/task/export_excel/export.html
*/30 * * * * wget --spider http://super-admin/task/im/register.html
0 6 * * * wget --spider http://super-admintask/push_data/remove_old_data.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "1.9.2"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:1.9.3" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: '3306'
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
*/10 * * * * wget --spider http://super-admin/task/user_vip/expire_tip.html
0 */4 * * * wget --spider http://super-admin/task/deal_hot_news/update_user_fans.html
*/1 * * * * wget --spider http://super-admin/task/export_excel/export.html
*/30 * * * * wget --spider http://super-admin/task/im/register.html
0 6 * * * wget --spider http://super-admintask/push_data/remove_old_data.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "1.9.3"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:1.9.4" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: '3306'
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
*/10 * * * * wget --spider http://super-admin/task/user_vip/expire_tip.html
0 */4 * * * wget --spider http://super-admin/task/deal_hot_news/update_user_fans.html
*/1 * * * * wget --spider http://super-admin/task/export_excel/export.html
*/30 * * * * wget --spider http://super-admin/task/im/register.html
0 6 * * * wget --spider http://super-admintask/push_data/remove_old_data.html
*/1 * * * * wget --spider http://super-admin/task/gouwubi_red_envelope/execu_red_envelope.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "1.9.4"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:1.9.5" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: '3306'
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
*/10 * * * * wget --spider http://super-admin/task/user_vip/expire_tip.html
0 */4 * * * wget --spider http://super-admin/task/deal_hot_news/update_user_fans.html
*/1 * * * * wget --spider http://super-admin/task/export_excel/export.html
*/30 * * * * wget --spider http://super-admin/task/im/register.html
0 6 * * * wget --spider http://super-admintask/push_data/remove_old_data.html
*/1 * * * * wget --spider http://super-admin/task/gouwubi_red_envelope/execu_red_envelope.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "1.9.5"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:1.9.6" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: '3306'
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
*/10 * * * * wget --spider http://super-admin/task/user_vip/expire_tip.html
0 */4 * * * wget --spider http://super-admin/task/deal_hot_news/update_user_fans.html
*/1 * * * * wget --spider http://super-admin/task/export_excel/export.html
*/30 * * * * wget --spider http://super-admin/task/im/register.html
0 6 * * * wget --spider http://super-admintask/push_data/remove_old_data.html
*/1 * * * * wget --spider http://super-admin/task/gouwubi_red_envelope/execu_red_envelope.html
0 4 * * * wget --spider http://super-admin/task/msg_push/rm_old_msg.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "1.9.6"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:1.2.0.1" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: '3306'
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet =30M'
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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao
*/1 * * * * wget --spider http://super-admin/task/msg_push/index
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "1.2.0"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:1.9.7" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: '3306'
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
*/10 * * * * wget --spider http://super-admin/task/user_vip/expire_tip.html
0 */4 * * * wget --spider http://super-admin/task/deal_hot_news/update_user_fans.html
*/1 * * * * wget --spider http://super-admin/task/export_excel/export.html
*/30 * * * * wget --spider http://super-admin/task/im/register.html
0 6 * * * wget --spider http://super-admintask/push_data/remove_old_data.html
*/1 * * * * wget --spider http://super-admin/task/gouwubi_red_envelope/execu_red_envelope.html
0 4 * * * wget --spider http://super-admin/task/msg_push/rm_old_msg.html
0 5 * * * wget --spider http://super-admin/task/tempfile/del_temp_file.html
0 3 * * * wget --spider http://super-admin/task/get_news/del_old_news_video.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "1.9.7"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:1.9.8" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: '3306'
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
*/10 * * * * wget --spider http://super-admin/task/user_vip/expire_tip.html
0 */4 * * * wget --spider http://super-admin/task/deal_hot_news/update_user_fans.html
*/1 * * * * wget --spider http://super-admin/task/export_excel/export.html
*/30 * * * * wget --spider http://super-admin/task/im/register.html
0 6 * * * wget --spider http://super-admintask/push_data/remove_old_data.html
*/1 * * * * wget --spider http://super-admin/task/gouwubi_red_envelope/execu_red_envelope.html
0 4 * * * wget --spider http://super-admin/task/msg_push/rm_old_msg.html
0 5 * * * wget --spider http://super-admin/task/tempfile/del_temp_file.html
0 3 * * * wget --spider http://super-admin/task/get_news/del_old_news_video.html
*/1 * * * * wget --spider http://super-admin/task/live/live_yugao_tuisong.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "1.9.8"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:1.9.9" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: '3306'
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
*/10 * * * * wget --spider http://super-admin/task/user_vip/expire_tip.html
0 */4 * * * wget --spider http://super-admin/task/deal_hot_news/update_user_fans.html
*/1 * * * * wget --spider http://super-admin/task/export_excel/export.html
*/30 * * * * wget --spider http://super-admin/task/im/register.html
0 6 * * * wget --spider http://super-admintask/push_data/remove_old_data.html
*/1 * * * * wget --spider http://super-admin/task/gouwubi_red_envelope/execu_red_envelope.html
0 4 * * * wget --spider http://super-admin/task/msg_push/rm_old_msg.html
0 5 * * * wget --spider http://super-admin/task/tempfile/del_temp_file.html
0 3 * * * wget --spider http://super-admin/task/get_news/del_old_news_video.html
*/1 * * * * wget --spider http://super-admin/task/live/live_yugao_tuisong.html
0 5 * * * wget --spider http://super-admin/task/video/send_reward.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "1.9.9"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:2.0.0" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: '3306'
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
*/10 * * * * wget --spider http://super-admin/task/user_vip/expire_tip.html
0 */4 * * * wget --spider http://super-admin/task/deal_hot_news/update_user_fans.html
*/1 * * * * wget --spider http://super-admin/task/export_excel/export.html
*/30 * * * * wget --spider http://super-admin/task/im/register.html
0 6 * * * wget --spider http://super-admintask/push_data/remove_old_data.html
*/1 * * * * wget --spider http://super-admin/task/gouwubi_red_envelope/execu_red_envelope.html
0 4 * * * wget --spider http://super-admin/task/msg_push/rm_old_msg.html
0 5 * * * wget --spider http://super-admin/task/tempfile/del_temp_file.html
0 3 * * * wget --spider http://super-admin/task/get_news/del_old_news_video.html
*/1 * * * * wget --spider http://super-admin/task/live/live_yugao_tuisong.html
0 5 * * * wget --spider http://super-admin/task/video/send_reward.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "2.0.0"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:2.0.1" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: '3306'
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
*/10 * * * * wget --spider http://super-admin/task/user_vip/expire_tip.html
0 */4 * * * wget --spider http://super-admin/task/deal_hot_news/update_user_fans.html
*/1 * * * * wget --spider http://super-admin/task/export_excel/export.html
*/30 * * * * wget --spider http://super-admin/task/im/register.html
0 6 * * * wget --spider http://super-admintask/push_data/remove_old_data.html
*/1 * * * * wget --spider http://super-admin/task/gouwubi_red_envelope/execu_red_envelope.html
0 4 * * * wget --spider http://super-admin/task/msg_push/rm_old_msg.html
0 5 * * * wget --spider http://super-admin/task/tempfile/del_temp_file.html
0 3 * * * wget --spider http://super-admin/task/get_news/del_old_news_video.html
*/1 * * * * wget --spider http://super-admin/task/live/live_yugao_tuisong.html
0 5 * * * wget --spider http://super-admin/task/video/send_reward.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "2.0.1"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:2.0.2" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: '3306'
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
*/10 * * * * wget --spider http://super-admin/task/user_vip/expire_tip.html
0 */4 * * * wget --spider http://super-admin/task/deal_hot_news/update_user_fans.html
*/1 * * * * wget --spider http://super-admin/task/export_excel/export.html
*/30 * * * * wget --spider http://super-admin/task/im/register.html
0 6 * * * wget --spider http://super-admintask/push_data/remove_old_data.html
*/1 * * * * wget --spider http://super-admin/task/gouwubi_red_envelope/execu_red_envelope.html
0 4 * * * wget --spider http://super-admin/task/msg_push/rm_old_msg.html
0 5 * * * wget --spider http://super-admin/task/tempfile/del_temp_file.html
0 3 * * * wget --spider http://super-admin/task/get_news/del_old_news_video.html
*/1 * * * * wget --spider http://super-admin/task/live/live_yugao_tuisong.html
0 5 * * * wget --spider http://super-admin/task/video/send_reward.html
0 4 * * * wget --spider http://super-admin/task/sms_log/delete_old_log.html
0 4 * * * wget --spider http://super-admin/task/live/delete_invalid_live.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "2.0.2"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:2.0.3" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: '3306'
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
*/10 * * * * wget --spider http://super-admin/task/user_vip/expire_tip.html
0 */4 * * * wget --spider http://super-admin/task/deal_hot_news/update_user_fans.html
*/1 * * * * wget --spider http://super-admin/task/export_excel/export.html
*/30 * * * * wget --spider http://super-admin/task/im/register.html
0 6 * * * wget --spider http://super-admintask/push_data/remove_old_data.html
*/1 * * * * wget --spider http://super-admin/task/gouwubi_red_envelope/execu_red_envelope.html
0 4 * * * wget --spider http://super-admin/task/msg_push/rm_old_msg.html
0 5 * * * wget --spider http://super-admin/task/tempfile/del_temp_file.html
0 3 * * * wget --spider http://super-admin/task/get_news/del_old_news_video.html
*/1 * * * * wget --spider http://super-admin/task/live/live_yugao_tuisong.html
0 5 * * * wget --spider http://super-admin/task/video/send_reward.html
0 4 * * * wget --spider http://super-admin/task/sms_log/delete_old_log.html
0 4 * * * wget --spider http://super-admin/task/live/delete_invalid_live.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "2.0.3"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:2.0.5" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: '3306'
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
*/10 * * * * wget --spider http://super-admin/task/user_vip/expire_tip.html
0 */4 * * * wget --spider http://super-admin/task/deal_hot_news/update_user_fans.html
*/1 * * * * wget --spider http://super-admin/task/export_excel/export.html
*/30 * * * * wget --spider http://super-admin/task/im/register.html
0 6 * * * wget --spider http://super-admintask/push_data/remove_old_data.html
*/1 * * * * wget --spider http://super-admin/task/gouwubi_red_envelope/execu_red_envelope.html
0 4 * * * wget --spider http://super-admin/task/msg_push/rm_old_msg.html
0 5 * * * wget --spider http://super-admin/task/tempfile/del_temp_file.html
0 3 * * * wget --spider http://super-admin/task/get_news/del_old_news_video.html
*/1 * * * * wget --spider http://super-admin/task/live/live_yugao_tuisong.html
0 5 * * * wget --spider http://super-admin/task/video/send_reward.html
0 4 * * * wget --spider http://super-admin/task/sms_log/delete_old_log.html
0 4 * * * wget --spider http://super-admin/task/live/delete_invalid_live.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "2.0.5"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:2.0.7" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: '3306'
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
*/10 * * * * wget --spider http://super-admin/task/user_vip/expire_tip.html
0 */4 * * * wget --spider http://super-admin/task/deal_hot_news/update_user_fans.html
*/1 * * * * wget --spider http://super-admin/task/export_excel/export.html
*/30 * * * * wget --spider http://super-admin/task/im/register.html
0 6 * * * wget --spider http://super-admintask/push_data/remove_old_data.html
*/1 * * * * wget --spider http://super-admin/task/gouwubi_red_envelope/execu_red_envelope.html
0 4 * * * wget --spider http://super-admin/task/msg_push/rm_old_msg.html
0 5 * * * wget --spider http://super-admin/task/tempfile/del_temp_file.html
0 3 * * * wget --spider http://super-admin/task/get_news/del_old_news_video.html
*/1 * * * * wget --spider http://super-admin/task/live/live_yugao_tuisong.html
0 5 * * * wget --spider http://super-admin/task/video/send_reward.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "2.0.7"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:2.0.8" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: '3306'
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
*/10 * * * * wget --spider http://super-admin/task/user_vip/expire_tip.html
0 */4 * * * wget --spider http://super-admin/task/deal_hot_news/update_user_fans.html
*/1 * * * * wget --spider http://super-admin/task/export_excel/export.html
*/30 * * * * wget --spider http://super-admin/task/im/register.html
0 6 * * * wget --spider http://super-admintask/push_data/remove_old_data.html
*/1 * * * * wget --spider http://super-admin/task/gouwubi_red_envelope/execu_red_envelope.html
0 4 * * * wget --spider http://super-admin/task/msg_push/rm_old_msg.html
0 5 * * * wget --spider http://super-admin/task/tempfile/del_temp_file.html
0 3 * * * wget --spider http://super-admin/task/get_news/del_old_news_video.html
*/1 * * * * wget --spider http://super-admin/task/live/live_yugao_tuisong.html
0 5 * * * wget --spider http://super-admin/task/video/send_reward.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "2.0.8"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:1.2.4.2" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: '3306'
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao
*/1 * * * * wget --spider http://super-admin/task/msg_push/index
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_recor
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "1.2.4"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:2.0.9" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: '3306'
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
*/10 * * * * wget --spider http://super-admin/task/user_vip/expire_tip.html
0 */4 * * * wget --spider http://super-admin/task/deal_hot_news/update_user_fans.html
*/1 * * * * wget --spider http://super-admin/task/export_excel/export.html
*/30 * * * * wget --spider http://super-admin/task/im/register.html
0 6 * * * wget --spider http://super-admintask/push_data/remove_old_data.html
*/1 * * * * wget --spider http://super-admin/task/gouwubi_red_envelope/execu_red_envelope.html
0 4 * * * wget --spider http://super-admin/task/msg_push/rm_old_msg.html
0 5 * * * wget --spider http://super-admin/task/tempfile/del_temp_file.html
0 3 * * * wget --spider http://super-admin/task/get_news/del_old_news_video.html
*/1 * * * * wget --spider http://super-admin/task/live/live_yugao_tuisong.html
0 5 * * * wget --spider http://super-admin/task/video/send_reward.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "2.0.9"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:2.1.0" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: '3306'
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
*/10 * * * * wget --spider http://super-admin/task/user_vip/expire_tip.html
0 */4 * * * wget --spider http://super-admin/task/deal_hot_news/update_user_fans.html
*/1 * * * * wget --spider http://super-admin/task/export_excel/export.html
*/30 * * * * wget --spider http://super-admin/task/im/register.html
0 6 * * * wget --spider http://super-admintask/push_data/remove_old_data.html
*/1 * * * * wget --spider http://super-admin/task/gouwubi_red_envelope/execu_red_envelope.html
0 4 * * * wget --spider http://super-admin/task/msg_push/rm_old_msg.html
0 5 * * * wget --spider http://super-admin/task/tempfile/del_temp_file.html
0 3 * * * wget --spider http://super-admin/task/get_news/del_old_news_video.html
*/1 * * * * wget --spider http://super-admin/task/live/live_yugao_tuisong.html
0 5 * * * wget --spider http://super-admin/task/video/send_reward.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "2.1.0"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:2.1.1" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: '3306'
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
*/10 * * * * wget --spider http://super-admin/task/user_vip/expire_tip.html
0 */4 * * * wget --spider http://super-admin/task/deal_hot_news/update_user_fans.html
*/1 * * * * wget --spider http://super-admin/task/export_excel/export.html
*/30 * * * * wget --spider http://super-admin/task/im/register.html
0 6 * * * wget --spider http://super-admintask/push_data/remove_old_data.html
*/1 * * * * wget --spider http://super-admin/task/gouwubi_red_envelope/execu_red_envelope.html
0 4 * * * wget --spider http://super-admin/task/msg_push/rm_old_msg.html
0 5 * * * wget --spider http://super-admin/task/tempfile/del_temp_file.html
0 3 * * * wget --spider http://super-admin/task/get_news/del_old_news_video.html
*/1 * * * * wget --spider http://super-admin/task/live/live_yugao_tuisong.html
0 5 * * * wget --spider http://super-admin/task/video/send_reward.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "2.1.1"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:2.1.2" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: '3306'
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
*/10 * * * * wget --spider http://super-admin/task/user_vip/expire_tip.html
0 */4 * * * wget --spider http://super-admin/task/deal_hot_news/update_user_fans.html
*/1 * * * * wget --spider http://super-admin/task/export_excel/export.html
*/30 * * * * wget --spider http://super-admin/task/im/register.html
0 6 * * * wget --spider http://super-admintask/push_data/remove_old_data.html
*/1 * * * * wget --spider http://super-admin/task/gouwubi_red_envelope/execu_red_envelope.html
0 4 * * * wget --spider http://super-admin/task/msg_push/rm_old_msg.html
0 5 * * * wget --spider http://super-admin/task/tempfile/del_temp_file.html
0 3 * * * wget --spider http://super-admin/task/get_news/del_old_news_video.html
*/1 * * * * wget --spider http://super-admin/task/live/live_yugao_tuisong.html
0 5 * * * wget --spider http://super-admin/task/video/send_reward.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "2.1.2"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:2.1.3" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: '3306'
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
*/10 * * * * wget --spider http://super-admin/task/user_vip/expire_tip.html
0 */4 * * * wget --spider http://super-admin/task/deal_hot_news/update_user_fans.html
*/1 * * * * wget --spider http://super-admin/task/export_excel/export.html
*/30 * * * * wget --spider http://super-admin/task/im/register.html
0 6 * * * wget --spider http://super-admintask/push_data/remove_old_data.html
*/1 * * * * wget --spider http://super-admin/task/gouwubi_red_envelope/execu_red_envelope.html
0 4 * * * wget --spider http://super-admin/task/msg_push/rm_old_msg.html
0 5 * * * wget --spider http://super-admin/task/tempfile/del_temp_file.html
0 3 * * * wget --spider http://super-admin/task/get_news/del_old_news_video.html
*/1 * * * * wget --spider http://super-admin/task/live/live_yugao_tuisong.html
0 5 * * * wget --spider http://super-admin/task/video/send_reward.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "2.1.3"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:2.1.4" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: '3306'
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
*/10 * * * * wget --spider http://super-admin/task/user_vip/expire_tip.html
0 */4 * * * wget --spider http://super-admin/task/deal_hot_news/update_user_fans.html
*/1 * * * * wget --spider http://super-admin/task/export_excel/export.html
*/30 * * * * wget --spider http://super-admin/task/im/register.html
0 6 * * * wget --spider http://super-admintask/push_data/remove_old_data.html
*/1 * * * * wget --spider http://super-admin/task/gouwubi_red_envelope/execu_red_envelope.html
0 4 * * * wget --spider http://super-admin/task/msg_push/rm_old_msg.html
0 5 * * * wget --spider http://super-admin/task/tempfile/del_temp_file.html
0 3 * * * wget --spider http://super-admin/task/get_news/del_old_news_video.html
*/1 * * * * wget --spider http://super-admin/task/live/live_yugao_tuisong.html
0 5 * * * wget --spider http://super-admin/task/video/send_reward.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "2.1.4"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:2.1.5" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: '3306'
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
*/10 * * * * wget --spider http://super-admin/task/user_vip/expire_tip.html
0 */4 * * * wget --spider http://super-admin/task/deal_hot_news/update_user_fans.html
*/1 * * * * wget --spider http://super-admin/task/export_excel/export.html
*/30 * * * * wget --spider http://super-admin/task/im/register.html
0 6 * * * wget --spider http://super-admintask/push_data/remove_old_data.html
*/1 * * * * wget --spider http://super-admin/task/gouwubi_red_envelope/execu_red_envelope.html
0 4 * * * wget --spider http://super-admin/task/msg_push/rm_old_msg.html
0 5 * * * wget --spider http://super-admin/task/tempfile/del_temp_file.html
0 3 * * * wget --spider http://super-admin/task/get_news/del_old_news_video.html
*/1 * * * * wget --spider http://super-admin/task/live/live_yugao_tuisong.html
0 5 * * * wget --spider http://super-admin/task/video/send_reward.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "2.1.5"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:2.1.6" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: '3306'
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
*/10 * * * * wget --spider http://super-admin/task/user_vip/expire_tip.html
0 */4 * * * wget --spider http://super-admin/task/deal_hot_news/update_user_fans.html
*/1 * * * * wget --spider http://super-admin/task/export_excel/export.html
*/30 * * * * wget --spider http://super-admin/task/im/register.html
0 6 * * * wget --spider http://super-admintask/push_data/remove_old_data.html
*/1 * * * * wget --spider http://super-admin/task/gouwubi_red_envelope/execu_red_envelope.html
0 4 * * * wget --spider http://super-admin/task/msg_push/rm_old_msg.html
0 5 * * * wget --spider http://super-admin/task/tempfile/del_temp_file.html
0 3 * * * wget --spider http://super-admin/task/get_news/del_old_news_video.html
*/1 * * * * wget --spider http://super-admin/task/live/live_yugao_tuisong.html
0 5 * * * wget --spider http://super-admin/task/video/send_reward.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "2.1.6"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:2.1.7" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: '3306'
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
*/10 * * * * wget --spider http://super-admin/task/user_vip/expire_tip.html
0 */4 * * * wget --spider http://super-admin/task/deal_hot_news/update_user_fans.html
*/1 * * * * wget --spider http://super-admin/task/export_excel/export.html
*/30 * * * * wget --spider http://super-admin/task/im/register.html
0 6 * * * wget --spider http://super-admintask/push_data/remove_old_data.html
*/1 * * * * wget --spider http://super-admin/task/gouwubi_red_envelope/execu_red_envelope.html
0 4 * * * wget --spider http://super-admin/task/msg_push/rm_old_msg.html
0 5 * * * wget --spider http://super-admin/task/tempfile/del_temp_file.html
0 3 * * * wget --spider http://super-admin/task/get_news/del_old_news_video.html
*/1 * * * * wget --spider http://super-admin/task/live/live_yugao_tuisong.html
0 5 * * * wget --spider http://super-admin/task/video/send_reward.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "2.1.7"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:2.1.8" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: '3306'
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
*/10 * * * * wget --spider http://super-admin/task/user_vip/expire_tip.html
0 */4 * * * wget --spider http://super-admin/task/deal_hot_news/update_user_fans.html
*/1 * * * * wget --spider http://super-admin/task/export_excel/export.html
*/30 * * * * wget --spider http://super-admin/task/im/register.html
0 6 * * * wget --spider http://super-admintask/push_data/remove_old_data.html
*/1 * * * * wget --spider http://super-admin/task/gouwubi_red_envelope/execu_red_envelope.html
0 4 * * * wget --spider http://super-admin/task/msg_push/rm_old_msg.html
0 5 * * * wget --spider http://super-admin/task/tempfile/del_temp_file.html
0 3 * * * wget --spider http://super-admin/task/get_news/del_old_news_video.html
*/1 * * * * wget --spider http://super-admin/task/live/live_yugao_tuisong.html
0 5 * * * wget --spider http://super-admin/task/video/send_reward.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "2.1.8"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:1.3.1" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: '3306'
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao
*/1 * * * * wget --spider http://super-admin/task/msg_push/index
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_recor
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "1.3.1"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:2.1.9" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: '3306'
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
*/10 * * * * wget --spider http://super-admin/task/user_vip/expire_tip.html
0 */4 * * * wget --spider http://super-admin/task/deal_hot_news/update_user_fans.html
*/1 * * * * wget --spider http://super-admin/task/export_excel/export.html
*/30 * * * * wget --spider http://super-admin/task/im/register.html
0 6 * * * wget --spider http://super-admintask/push_data/remove_old_data.html
*/1 * * * * wget --spider http://super-admin/task/gouwubi_red_envelope/execu_red_envelope.html
0 4 * * * wget --spider http://super-admin/task/msg_push/rm_old_msg.html
0 5 * * * wget --spider http://super-admin/task/tempfile/del_temp_file.html
0 3 * * * wget --spider http://super-admin/task/get_news/del_old_news_video.html
*/1 * * * * wget --spider http://super-admin/task/live/live_yugao_tuisong.html
0 5 * * * wget --spider http://super-admin/task/video/send_reward.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "2.1.9"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:2.2.1.1" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: '3306'
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
*/10 * * * * wget --spider http://super-admin/task/user_vip/expire_tip.html
0 */4 * * * wget --spider http://super-admin/task/deal_hot_news/update_user_fans.html
*/1 * * * * wget --spider http://super-admin/task/export_excel/export.html
*/30 * * * * wget --spider http://super-admin/task/im/register.html
0 6 * * * wget --spider http://super-admintask/push_data/remove_old_data.html
*/1 * * * * wget --spider http://super-admin/task/gouwubi_red_envelope/execu_red_envelope.html
0 4 * * * wget --spider http://super-admin/task/msg_push/rm_old_msg.html
0 5 * * * wget --spider http://super-admin/task/tempfile/del_temp_file.html
0 3 * * * wget --spider http://super-admin/task/get_news/del_old_news_video.html
*/1 * * * * wget --spider http://super-admin/task/live/live_yugao_tuisong.html
0 5 * * * wget --spider http://super-admin/task/video/send_reward.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "2.2.1"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:2.2.2.4" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: ${db_port}
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
*/10 * * * * wget --spider http://super-admin/task/user_vip/expire_tip.html
0 */4 * * * wget --spider http://super-admin/task/deal_hot_news/update_user_fans.html
*/1 * * * * wget --spider http://super-admin/task/export_excel/export.html
*/30 * * * * wget --spider http://super-admin/task/im/register.html
0 6 * * * wget --spider http://super-admintask/push_data/remove_old_data.html
*/1 * * * * wget --spider http://super-admin/task/gouwubi_red_envelope/execu_red_envelope.html
0 4 * * * wget --spider http://super-admin/task/msg_push/rm_old_msg.html
0 5 * * * wget --spider http://super-admin/task/tempfile/del_temp_file.html
0 3 * * * wget --spider http://super-admin/task/get_news/del_old_news_video.html
*/1 * * * * wget --spider http://super-admin/task/live/live_yugao_tuisong.html
0 5 * * * wget --spider http://super-admin/task/video/send_reward.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "2.2.2"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: db_port
description: "数据库端口,默认3306"
label: "数据库端口"
required: true
default: "3306"
type: "int"
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:2.2.3.0" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: ${db_port}
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
*/10 * * * * wget --spider http://super-admin/task/user_vip/expire_tip.html
0 */4 * * * wget --spider http://super-admin/task/deal_hot_news/update_user_fans.html
*/1 * * * * wget --spider http://super-admin/task/export_excel/export.html
*/30 * * * * wget --spider http://super-admin/task/im/register.html
0 6 * * * wget --spider http://super-admintask/push_data/remove_old_data.html
*/1 * * * * wget --spider http://super-admin/task/gouwubi_red_envelope/execu_red_envelope.html
0 4 * * * wget --spider http://super-admin/task/msg_push/rm_old_msg.html
0 5 * * * wget --spider http://super-admin/task/tempfile/del_temp_file.html
0 3 * * * wget --spider http://super-admin/task/get_news/del_old_news_video.html
*/1 * * * * wget --spider http://super-admin/task/live/live_yugao_tuisong.html
0 5 * * * wget --spider http://super-admin/task/video/send_reward.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "2.2.3"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: db_port
description: "数据库端口,默认3306"
label: "数据库端口"
required: true
default: "3306"
type: "int"
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:2.2.4.1" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: ${db_port}
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
*/10 * * * * wget --spider http://super-admin/task/user_vip/expire_tip.html
0 */4 * * * wget --spider http://super-admin/task/deal_hot_news/update_user_fans.html
*/1 * * * * wget --spider http://super-admin/task/export_excel/export.html
*/30 * * * * wget --spider http://super-admin/task/im/register.html
0 6 * * * wget --spider http://super-admintask/push_data/remove_old_data.html
*/1 * * * * wget --spider http://super-admin/task/gouwubi_red_envelope/execu_red_envelope.html
0 4 * * * wget --spider http://super-admin/task/msg_push/rm_old_msg.html
0 5 * * * wget --spider http://super-admin/task/tempfile/del_temp_file.html
0 3 * * * wget --spider http://super-admin/task/get_news/del_old_news_video.html
*/1 * * * * wget --spider http://super-admin/task/live/live_yugao_tuisong.html
0 5 * * * wget --spider http://super-admin/task/video/send_reward.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "2.2.4"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: db_port
description: "数据库端口,默认3306"
label: "数据库端口"
required: true
default: "3306"
type: "int"
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:2.2.5.0" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: ${db_port}
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
*/10 * * * * wget --spider http://super-admin/task/user_vip/expire_tip.html
0 */4 * * * wget --spider http://super-admin/task/deal_hot_news/update_user_fans.html
*/1 * * * * wget --spider http://super-admin/task/export_excel/export.html
*/30 * * * * wget --spider http://super-admin/task/im/register.html
0 6 * * * wget --spider http://super-admintask/push_data/remove_old_data.html
*/1 * * * * wget --spider http://super-admin/task/gouwubi_red_envelope/execu_red_envelope.html
0 4 * * * wget --spider http://super-admin/task/msg_push/rm_old_msg.html
0 5 * * * wget --spider http://super-admin/task/tempfile/del_temp_file.html
0 3 * * * wget --spider http://super-admin/task/get_news/del_old_news_video.html
*/1 * * * * wget --spider http://super-admin/task/live/live_yugao_tuisong.html
0 5 * * * wget --spider http://super-admin/task/video/send_reward.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "2.2.5"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: db_port
description: "数据库端口,默认3306"
label: "数据库端口"
required: true
default: "3306"
type: "int"
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:2.2.6.2" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: ${db_port}
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
*/10 * * * * wget --spider http://super-admin/task/user_vip/expire_tip.html
0 */4 * * * wget --spider http://super-admin/task/deal_hot_news/update_user_fans.html
*/1 * * * * wget --spider http://super-admin/task/export_excel/export.html
*/30 * * * * wget --spider http://super-admin/task/im/register.html
0 6 * * * wget --spider http://super-admintask/push_data/remove_old_data.html
*/1 * * * * wget --spider http://super-admin/task/gouwubi_red_envelope/execu_red_envelope.html
0 4 * * * wget --spider http://super-admin/task/msg_push/rm_old_msg.html
0 5 * * * wget --spider http://super-admin/task/tempfile/del_temp_file.html
0 3 * * * wget --spider http://super-admin/task/get_news/del_old_news_video.html
*/1 * * * * wget --spider http://super-admin/task/live/live_yugao_tuisong.html
0 5 * * * wget --spider http://super-admin/task/video/send_reward.html
* * * * * wget --spider http://super-admin/task/gouwubi_jifen_transfer/execu_transaction_record.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "2.2.6"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: db_port
description: "数据库端口,默认3306"
label: "数据库端口"
required: true
default: "3306"
type: "int"
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:2.2.7.1" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
{{- $rabbitmqImage:="rabbitmq:3.6.16-management-alpine"}}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: ${db_port}
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
MQ_HOST: ${mq_host}
MQ_USER: ${mq_user}
MQ_PASS: ${mq_pass}
MQ_PORT: '5672'
MQ_VHOST: ${mq_vhost}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
mq-server:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$rabbitmqImage}}
environment:
RABBITMQ_DEFAULT_USER: ${mq_user}
RABBITMQ_DEFAULT_PASS: ${mq_pass}
RABBITMQ_DEFAULT_VHOST: ${mq_vhost}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- if (.Values.host_label)}}
io.rancher.scheduler.affinity:host_label: ${host_label}
{{- end}}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
*/10 * * * * wget --spider http://super-admin/task/user_vip/expire_tip.html
0 */4 * * * wget --spider http://super-admin/task/deal_hot_news/update_user_fans.html
*/1 * * * * wget --spider http://super-admin/task/export_excel/export.html
*/30 * * * * wget --spider http://super-admin/task/im/register.html
0 6 * * * wget --spider http://super-admintask/push_data/remove_old_data.html
*/1 * * * * wget --spider http://super-admin/task/gouwubi_red_envelope/execu_red_envelope.html
0 4 * * * wget --spider http://super-admin/task/msg_push/rm_old_msg.html
0 5 * * * wget --spider http://super-admin/task/tempfile/del_temp_file.html
0 3 * * * wget --spider http://super-admin/task/get_news/del_old_news_video.html
*/1 * * * * wget --spider http://super-admin/task/live/live_yugao_tuisong.html
0 5 * * * wget --spider http://super-admin/task/video/send_reward.html
* * * * * wget --spider http://super-admin/task/gouwubi_jifen_transfer/execu_transaction_record.html
* * * * * wget --spider http://super-admin/task/mq_tasks/guard_mq_process.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "2.2.7"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: db_port
description: "数据库端口,默认3306"
label: "数据库端口"
required: true
default: "3306"
type: "int"
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
- variable: mq_host
description: "消息队列服务器地址,应用内可直接使用服务名"
label: "消息队列服务器地址"
required: true
default: "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"
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:2.2.8.0" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
{{- $rabbitmqImage:="rabbitmq:3.6.16-management-alpine"}}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: ${db_port}
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
MQ_HOST: ${mq_host}
MQ_USER: ${mq_user}
MQ_PASS: ${mq_pass}
MQ_PORT: '5672'
MQ_VHOST: ${mq_vhost}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
mq-server:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$rabbitmqImage}}
environment:
RABBITMQ_DEFAULT_USER: ${mq_user}
RABBITMQ_DEFAULT_PASS: ${mq_pass}
RABBITMQ_DEFAULT_VHOST: ${mq_vhost}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- if (.Values.host_label)}}
io.rancher.scheduler.affinity:host_label: ${host_label}
{{- end}}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
*/10 * * * * wget --spider http://super-admin/task/user_vip/expire_tip.html
0 */4 * * * wget --spider http://super-admin/task/deal_hot_news/update_user_fans.html
*/1 * * * * wget --spider http://super-admin/task/export_excel/export.html
*/30 * * * * wget --spider http://super-admin/task/im/register.html
0 6 * * * wget --spider http://super-admintask/push_data/remove_old_data.html
*/1 * * * * wget --spider http://super-admin/task/gouwubi_red_envelope/execu_red_envelope.html
0 4 * * * wget --spider http://super-admin/task/msg_push/rm_old_msg.html
0 5 * * * wget --spider http://super-admin/task/tempfile/del_temp_file.html
0 3 * * * wget --spider http://super-admin/task/get_news/del_old_news_video.html
*/1 * * * * wget --spider http://super-admin/task/live/live_yugao_tuisong.html
0 5 * * * wget --spider http://super-admin/task/video/send_reward.html
* * * * * wget --spider http://super-admin/task/gouwubi_jifen_transfer/execu_transaction_record.html
* * * * * wget --spider http://super-admin/task/mq_tasks/guard_mq_process.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "2.2.8"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: db_port
description: "数据库端口,默认3306"
label: "数据库端口"
required: true
default: "3306"
type: "int"
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
- variable: mq_host
description: "消息队列服务器地址,应用内可直接使用服务名"
label: "消息队列服务器地址"
required: true
default: "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"
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:2.2.9.0" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
{{- $rabbitmqImage:="rabbitmq:3.6.16-management-alpine"}}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: ${db_port}
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
MQ_HOST: ${mq_host}
MQ_USER: ${mq_user}
MQ_PASS: ${mq_pass}
MQ_PORT: '5672'
MQ_VHOST: ${mq_vhost}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
mq-server:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$rabbitmqImage}}
environment:
RABBITMQ_DEFAULT_USER: ${mq_user}
RABBITMQ_DEFAULT_PASS: ${mq_pass}
RABBITMQ_DEFAULT_VHOST: ${mq_vhost}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- if (.Values.host_label)}}
io.rancher.scheduler.affinity:host_label: ${host_label}
{{- end}}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
*/10 * * * * wget --spider http://super-admin/task/user_vip/expire_tip.html
0 */4 * * * wget --spider http://super-admin/task/deal_hot_news/update_user_fans.html
*/1 * * * * wget --spider http://super-admin/task/export_excel/export.html
*/30 * * * * wget --spider http://super-admin/task/im/register.html
0 6 * * * wget --spider http://super-admintask/push_data/remove_old_data.html
*/1 * * * * wget --spider http://super-admin/task/gouwubi_red_envelope/execu_red_envelope.html
0 4 * * * wget --spider http://super-admin/task/msg_push/rm_old_msg.html
0 5 * * * wget --spider http://super-admin/task/tempfile/del_temp_file.html
0 3 * * * wget --spider http://super-admin/task/get_news/del_old_news_video.html
*/1 * * * * wget --spider http://super-admin/task/live/live_yugao_tuisong.html
0 5 * * * wget --spider http://super-admin/task/video/send_reward.html
* * * * * wget --spider http://super-admin/task/gouwubi_jifen_transfer/execu_transaction_record.html
* * * * * wget --spider http://super-admin/task/mq_tasks/guard_mq_process.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "2.2.9"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: db_port
description: "数据库端口,默认3306"
label: "数据库端口"
required: true
default: "3306"
type: "int"
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
- variable: mq_host
description: "消息队列服务器地址,应用内可直接使用服务名"
label: "消息队列服务器地址"
required: true
default: "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"
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:1.5.1" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: '3306'
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "1.5.1"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:2.3.1.0" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
{{- $rabbitmqImage:="rabbitmq:3.6.16-management-alpine"}}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: ${db_port}
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
MQ_HOST: ${mq_host}
MQ_USER: ${mq_user}
MQ_PASS: ${mq_pass}
MQ_PORT: '5672'
MQ_VHOST: ${mq_vhost}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
mq-server:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$rabbitmqImage}}
environment:
RABBITMQ_DEFAULT_USER: ${mq_user}
RABBITMQ_DEFAULT_PASS: ${mq_pass}
RABBITMQ_DEFAULT_VHOST: ${mq_vhost}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- if (.Values.host_label)}}
io.rancher.scheduler.affinity:host_label: ${host_label}
{{- end}}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
*/10 * * * * wget --spider http://super-admin/task/user_vip/expire_tip.html
0 */4 * * * wget --spider http://super-admin/task/deal_hot_news/update_user_fans.html
*/1 * * * * wget --spider http://super-admin/task/export_excel/export.html
*/30 * * * * wget --spider http://super-admin/task/im/register.html
0 6 * * * wget --spider http://super-admintask/push_data/remove_old_data.html
*/1 * * * * wget --spider http://super-admin/task/gouwubi_red_envelope/execu_red_envelope.html
0 4 * * * wget --spider http://super-admin/task/msg_push/rm_old_msg.html
0 5 * * * wget --spider http://super-admin/task/tempfile/del_temp_file.html
0 3 * * * wget --spider http://super-admin/task/get_news/del_old_news_video.html
*/1 * * * * wget --spider http://super-admin/task/live/live_yugao_tuisong.html
0 5 * * * wget --spider http://super-admin/task/video/send_reward.html
* * * * * wget --spider http://super-admin/task/gouwubi_jifen_transfer/execu_transaction_record.html
* * * * * wget --spider http://super-admin/task/mq_tasks/guard_mq_process.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "2.3.1"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: db_port
description: "数据库端口,默认3306"
label: "数据库端口"
required: true
default: "3306"
type: "int"
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
- variable: mq_host
description: "消息队列服务器地址,应用内可直接使用服务名"
label: "消息队列服务器地址"
required: true
default: "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"
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:2.3.2.0" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
{{- $rabbitmqImage:="rabbitmq:3.6.16-management-alpine"}}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
privileged: true
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: ${db_port}
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
MQ_HOST: ${mq_host}
MQ_USER: ${mq_user}
MQ_PASS: ${mq_pass}
MQ_PORT: '5672'
MQ_VHOST: ${mq_vhost}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
mq-server:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$rabbitmqImage}}
environment:
RABBITMQ_DEFAULT_USER: ${mq_user}
RABBITMQ_DEFAULT_PASS: ${mq_pass}
RABBITMQ_DEFAULT_VHOST: ${mq_vhost}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- if (.Values.host_label)}}
io.rancher.scheduler.affinity:host_label: ${host_label}
{{- end}}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
*/10 * * * * wget --spider http://super-admin/task/user_vip/expire_tip.html
0 */4 * * * wget --spider http://super-admin/task/deal_hot_news/update_user_fans.html
*/1 * * * * wget --spider http://super-admin/task/export_excel/export.html
*/30 * * * * wget --spider http://super-admin/task/im/register.html
0 6 * * * wget --spider http://super-admintask/push_data/remove_old_data.html
*/1 * * * * wget --spider http://super-admin/task/gouwubi_red_envelope/execu_red_envelope.html
0 4 * * * wget --spider http://super-admin/task/msg_push/rm_old_msg.html
0 5 * * * wget --spider http://super-admin/task/tempfile/del_temp_file.html
0 3 * * * wget --spider http://super-admin/task/get_news/del_old_news_video.html
*/1 * * * * wget --spider http://super-admin/task/live/live_yugao_tuisong.html
0 5 * * * wget --spider http://super-admin/task/video/send_reward.html
* * * * * wget --spider http://super-admin/task/gouwubi_jifen_transfer/execu_transaction_record.html
* * * * * wget --spider http://super-admin/task/mq_tasks/guard_mq_process.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "2.3.2"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: db_port
description: "数据库端口,默认3306"
label: "数据库端口"
required: true
default: "3306"
type: "int"
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
- variable: mq_host
description: "消息队列服务器地址,应用内可直接使用服务名"
label: "消息队列服务器地址"
required: true
default: "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"
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:2.3.3.0" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
{{- $rabbitmqImage:="rabbitmq:3.6.16-management-alpine"}}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
privileged: true
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: ${db_port}
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
MQ_HOST: ${mq_host}
MQ_USER: ${mq_user}
MQ_PASS: ${mq_pass}
MQ_PORT: '5672'
MQ_VHOST: ${mq_vhost}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
mq-server:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$rabbitmqImage}}
environment:
RABBITMQ_DEFAULT_USER: ${mq_user}
RABBITMQ_DEFAULT_PASS: ${mq_pass}
RABBITMQ_DEFAULT_VHOST: ${mq_vhost}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- if (.Values.host_label)}}
io.rancher.scheduler.affinity:host_label: ${host_label}
{{- end}}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
*/10 * * * * wget --spider http://super-admin/task/user_vip/expire_tip.html
0 */4 * * * wget --spider http://super-admin/task/deal_hot_news/update_user_fans.html
*/1 * * * * wget --spider http://super-admin/task/export_excel/export.html
*/30 * * * * wget --spider http://super-admin/task/im/register.html
0 6 * * * wget --spider http://super-admintask/push_data/remove_old_data.html
*/1 * * * * wget --spider http://super-admin/task/gouwubi_red_envelope/execu_red_envelope.html
0 4 * * * wget --spider http://super-admin/task/msg_push/rm_old_msg.html
0 5 * * * wget --spider http://super-admin/task/tempfile/del_temp_file.html
0 3 * * * wget --spider http://super-admin/task/get_news/del_old_news_video.html
*/1 * * * * wget --spider http://super-admin/task/live/live_yugao_tuisong.html
0 5 * * * wget --spider http://super-admin/task/video/send_reward.html
* * * * * wget --spider http://super-admin/task/gouwubi_jifen_transfer/execu_transaction_record.html
* * * * * wget --spider http://super-admin/task/mq_tasks/guard_mq_process.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "2.3.3"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: db_port
description: "数据库端口,默认3306"
label: "数据库端口"
required: true
default: "3306"
type: "int"
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
- variable: mq_host
description: "消息队列服务器地址,应用内可直接使用服务名"
label: "消息队列服务器地址"
required: true
default: "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"
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:2.3.4.0" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
{{- $rabbitmqImage:="rabbitmq:3.6.16-management-alpine"}}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
privileged: true
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: ${db_port}
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
MQ_HOST: ${mq_host}
MQ_USER: ${mq_user}
MQ_PASS: ${mq_pass}
MQ_PORT: '5672'
MQ_VHOST: ${mq_vhost}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
mq-server:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$rabbitmqImage}}
environment:
RABBITMQ_DEFAULT_USER: ${mq_user}
RABBITMQ_DEFAULT_PASS: ${mq_pass}
RABBITMQ_DEFAULT_VHOST: ${mq_vhost}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- if (.Values.host_label)}}
io.rancher.scheduler.affinity:host_label: ${host_label}
{{- end}}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
*/10 * * * * wget --spider http://super-admin/task/user_vip/expire_tip.html
0 */4 * * * wget --spider http://super-admin/task/deal_hot_news/update_user_fans.html
*/1 * * * * wget --spider http://super-admin/task/export_excel/export.html
*/30 * * * * wget --spider http://super-admin/task/im/register.html
0 6 * * * wget --spider http://super-admintask/push_data/remove_old_data.html
*/1 * * * * wget --spider http://super-admin/task/gouwubi_red_envelope/execu_red_envelope.html
0 4 * * * wget --spider http://super-admin/task/msg_push/rm_old_msg.html
0 5 * * * wget --spider http://super-admin/task/tempfile/del_temp_file.html
0 3 * * * wget --spider http://super-admin/task/get_news/del_old_news_video.html
*/1 * * * * wget --spider http://super-admin/task/live/live_yugao_tuisong.html
0 5 * * * wget --spider http://super-admin/task/video/send_reward.html
* * * * * wget --spider http://super-admin/task/gouwubi_jifen_transfer/execu_transaction_record.html
* * * * * wget --spider http://super-admin/task/mq_tasks/guard_mq_process.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "2.3.4"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: db_port
description: "数据库端口,默认3306"
label: "数据库端口"
required: true
default: "3306"
type: "int"
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
- variable: mq_host
description: "消息队列服务器地址,应用内可直接使用服务名"
label: "消息队列服务器地址"
required: true
default: "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"
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:2.3.5.0" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
{{- $rabbitmqImage:="rabbitmq:3.6.16-management-alpine"}}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
privileged: true
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: ${db_port}
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
MQ_HOST: ${mq_host}
MQ_USER: ${mq_user}
MQ_PASS: ${mq_pass}
MQ_PORT: '5672'
MQ_VHOST: ${mq_vhost}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
mq-server:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$rabbitmqImage}}
environment:
RABBITMQ_DEFAULT_USER: ${mq_user}
RABBITMQ_DEFAULT_PASS: ${mq_pass}
RABBITMQ_DEFAULT_VHOST: ${mq_vhost}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- if (.Values.host_label)}}
io.rancher.scheduler.affinity:host_label: ${host_label}
{{- end}}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
*/10 * * * * wget --spider http://super-admin/task/user_vip/expire_tip.html
0 */4 * * * wget --spider http://super-admin/task/deal_hot_news/update_user_fans.html
*/1 * * * * wget --spider http://super-admin/task/export_excel/export.html
*/30 * * * * wget --spider http://super-admin/task/im/register.html
0 6 * * * wget --spider http://super-admintask/push_data/remove_old_data.html
*/1 * * * * wget --spider http://super-admin/task/gouwubi_red_envelope/execu_red_envelope.html
0 4 * * * wget --spider http://super-admin/task/msg_push/rm_old_msg.html
0 5 * * * wget --spider http://super-admin/task/tempfile/del_temp_file.html
0 3 * * * wget --spider http://super-admin/task/get_news/del_old_news_video.html
*/1 * * * * wget --spider http://super-admin/task/live/live_yugao_tuisong.html
0 5 * * * wget --spider http://super-admin/task/video/send_reward.html
* * * * * wget --spider http://super-admin/task/gouwubi_jifen_transfer/execu_transaction_record.html
* * * * * wget --spider http://super-admin/task/mq_tasks/guard_mq_process.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "2.3.5"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: db_port
description: "数据库端口,默认3306"
label: "数据库端口"
required: true
default: "3306"
type: "int"
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
- variable: mq_host
description: "消息队列服务器地址,应用内可直接使用服务名"
label: "消息队列服务器地址"
required: true
default: "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"
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:2.3.6.0" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
{{- $rabbitmqImage:="rabbitmq:3.6.16-management-alpine"}}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
privileged: true
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: ${db_port}
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
MQ_HOST: ${mq_host}
MQ_USER: ${mq_user}
MQ_PASS: ${mq_pass}
MQ_PORT: '5672'
MQ_VHOST: ${mq_vhost}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
mq-server:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$rabbitmqImage}}
environment:
RABBITMQ_DEFAULT_USER: ${mq_user}
RABBITMQ_DEFAULT_PASS: ${mq_pass}
RABBITMQ_DEFAULT_VHOST: ${mq_vhost}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- if (.Values.host_label)}}
io.rancher.scheduler.affinity:host_label: ${host_label}
{{- end}}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
*/10 * * * * wget --spider http://super-admin/task/user_vip/expire_tip.html
0 */4 * * * wget --spider http://super-admin/task/deal_hot_news/update_user_fans.html
*/1 * * * * wget --spider http://super-admin/task/export_excel/export.html
*/30 * * * * wget --spider http://super-admin/task/im/register.html
0 6 * * * wget --spider http://super-admintask/push_data/remove_old_data.html
*/1 * * * * wget --spider http://super-admin/task/gouwubi_red_envelope/execu_red_envelope.html
0 4 * * * wget --spider http://super-admin/task/msg_push/rm_old_msg.html
0 5 * * * wget --spider http://super-admin/task/tempfile/del_temp_file.html
0 3 * * * wget --spider http://super-admin/task/get_news/del_old_news_video.html
*/1 * * * * wget --spider http://super-admin/task/live/live_yugao_tuisong.html
0 5 * * * wget --spider http://super-admin/task/video/send_reward.html
* * * * * wget --spider http://super-admin/task/gouwubi_jifen_transfer/execu_transaction_record.html
* * * * * wget --spider http://super-admin/task/mq_tasks/guard_mq_process.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "2.3.6"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: db_port
description: "数据库端口,默认3306"
label: "数据库端口"
required: true
default: "3306"
type: "int"
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
- variable: mq_host
description: "消息队列服务器地址,应用内可直接使用服务名"
label: "消息队列服务器地址"
required: true
default: "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"
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:2.3.7.1" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
{{- $rabbitmqImage:="rabbitmq:3.6.16-management-alpine"}}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
privileged: true
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: ${db_port}
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
MQ_HOST: ${mq_host}
MQ_USER: ${mq_user}
MQ_PASS: ${mq_pass}
MQ_PORT: '5672'
MQ_VHOST: ${mq_vhost}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
mq-server:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$rabbitmqImage}}
environment:
RABBITMQ_DEFAULT_USER: ${mq_user}
RABBITMQ_DEFAULT_PASS: ${mq_pass}
RABBITMQ_DEFAULT_VHOST: ${mq_vhost}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- if (.Values.host_label)}}
io.rancher.scheduler.affinity:host_label: ${host_label}
{{- end}}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
*/10 * * * * wget --spider http://super-admin/task/user_vip/expire_tip.html
0 */4 * * * wget --spider http://super-admin/task/deal_hot_news/update_user_fans.html
*/1 * * * * wget --spider http://super-admin/task/export_excel/export.html
*/30 * * * * wget --spider http://super-admin/task/im/register.html
0 6 * * * wget --spider http://super-admintask/push_data/remove_old_data.html
*/1 * * * * wget --spider http://super-admin/task/gouwubi_red_envelope/execu_red_envelope.html
0 4 * * * wget --spider http://super-admin/task/msg_push/rm_old_msg.html
0 5 * * * wget --spider http://super-admin/task/tempfile/del_temp_file.html
0 3 * * * wget --spider http://super-admin/task/get_news/del_old_news_video.html
*/1 * * * * wget --spider http://super-admin/task/live/live_yugao_tuisong.html
0 5 * * * wget --spider http://super-admin/task/video/send_reward.html
* * * * * wget --spider http://super-admin/task/gouwubi_jifen_transfer/execu_transaction_record.html
* * * * * wget --spider http://super-admin/task/mq_tasks/guard_mq_process.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "2.3.7"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: db_port
description: "数据库端口,默认3306"
label: "数据库端口"
required: true
default: "3306"
type: "int"
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
- variable: mq_host
description: "消息队列服务器地址,应用内可直接使用服务名"
label: "消息队列服务器地址"
required: true
default: "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"
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:2.3.8.1" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
{{- $rabbitmqImage:="rabbitmq:3.6.16-management-alpine"}}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
privileged: true
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: ${db_port}
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
MQ_HOST: ${mq_host}
MQ_USER: ${mq_user}
MQ_PASS: ${mq_pass}
MQ_PORT: '5672'
MQ_VHOST: ${mq_vhost}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
mq-server:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$rabbitmqImage}}
environment:
RABBITMQ_DEFAULT_USER: ${mq_user}
RABBITMQ_DEFAULT_PASS: ${mq_pass}
RABBITMQ_DEFAULT_VHOST: ${mq_vhost}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- if (.Values.host_label)}}
io.rancher.scheduler.affinity:host_label: ${host_label}
{{- end}}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
*/10 * * * * wget --spider http://super-admin/task/user_vip/expire_tip.html
0 */4 * * * wget --spider http://super-admin/task/deal_hot_news/update_user_fans.html
*/1 * * * * wget --spider http://super-admin/task/export_excel/export.html
*/30 * * * * wget --spider http://super-admin/task/im/register.html
0 6 * * * wget --spider http://super-admintask/push_data/remove_old_data.html
*/1 * * * * wget --spider http://super-admin/task/gouwubi_red_envelope/execu_red_envelope.html
0 4 * * * wget --spider http://super-admin/task/msg_push/rm_old_msg.html
0 5 * * * wget --spider http://super-admin/task/tempfile/del_temp_file.html
0 3 * * * wget --spider http://super-admin/task/get_news/del_old_news_video.html
*/1 * * * * wget --spider http://super-admin/task/live/live_yugao_tuisong.html
0 5 * * * wget --spider http://super-admin/task/video/send_reward.html
* * * * * wget --spider http://super-admin/task/gouwubi_jifen_transfer/execu_transaction_record.html
* * * * * wget --spider http://super-admin/task/mq_tasks/guard_mq_process.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "2.3.8"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: db_port
description: "数据库端口,默认3306"
label: "数据库端口"
required: true
default: "3306"
type: "int"
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
- variable: mq_host
description: "消息队列服务器地址,应用内可直接使用服务名"
label: "消息队列服务器地址"
required: true
default: "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"
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:2.3.9.0" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
{{- $rabbitmqImage:="rabbitmq:3.6.16-management-alpine"}}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
privileged: true
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: ${db_port}
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
MQ_HOST: ${mq_host}
MQ_USER: ${mq_user}
MQ_PASS: ${mq_pass}
MQ_PORT: '5672'
MQ_VHOST: ${mq_vhost}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
mq-server:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$rabbitmqImage}}
environment:
RABBITMQ_DEFAULT_USER: ${mq_user}
RABBITMQ_DEFAULT_PASS: ${mq_pass}
RABBITMQ_DEFAULT_VHOST: ${mq_vhost}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- if (.Values.host_label)}}
io.rancher.scheduler.affinity:host_label: ${host_label}
{{- end}}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
*/10 * * * * wget --spider http://super-admin/task/user_vip/expire_tip.html
0 */4 * * * wget --spider http://super-admin/task/deal_hot_news/update_user_fans.html
*/1 * * * * wget --spider http://super-admin/task/export_excel/export.html
*/30 * * * * wget --spider http://super-admin/task/im/register.html
0 6 * * * wget --spider http://super-admintask/push_data/remove_old_data.html
*/1 * * * * wget --spider http://super-admin/task/gouwubi_red_envelope/execu_red_envelope.html
0 4 * * * wget --spider http://super-admin/task/msg_push/rm_old_msg.html
0 5 * * * wget --spider http://super-admin/task/tempfile/del_temp_file.html
0 3 * * * wget --spider http://super-admin/task/get_news/del_old_news_video.html
*/1 * * * * wget --spider http://super-admin/task/live/live_yugao_tuisong.html
0 5 * * * wget --spider http://super-admin/task/video/send_reward.html
* * * * * wget --spider http://super-admin/task/gouwubi_jifen_transfer/execu_transaction_record.html
* * * * * wget --spider http://super-admin/task/mq_tasks/guard_mq_process.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "2.3.9"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: db_port
description: "数据库端口,默认3306"
label: "数据库端口"
required: true
default: "3306"
type: "int"
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
- variable: mq_host
description: "消息队列服务器地址,应用内可直接使用服务名"
label: "消息队列服务器地址"
required: true
default: "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"
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:2.4.0.0" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
{{- $rabbitmqImage:="rabbitmq:3.6.16-management-alpine"}}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
privileged: true
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: ${db_port}
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
MQ_HOST: ${mq_host}
MQ_USER: ${mq_user}
MQ_PASS: ${mq_pass}
MQ_PORT: '5672'
MQ_VHOST: ${mq_vhost}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
mq-server:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$rabbitmqImage}}
environment:
RABBITMQ_DEFAULT_USER: ${mq_user}
RABBITMQ_DEFAULT_PASS: ${mq_pass}
RABBITMQ_DEFAULT_VHOST: ${mq_vhost}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- if (.Values.host_label)}}
io.rancher.scheduler.affinity:host_label: ${host_label}
{{- end}}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
*/10 * * * * wget --spider http://super-admin/task/user_vip/expire_tip.html
0 */4 * * * wget --spider http://super-admin/task/deal_hot_news/update_user_fans.html
*/1 * * * * wget --spider http://super-admin/task/export_excel/export.html
*/30 * * * * wget --spider http://super-admin/task/im/register.html
0 6 * * * wget --spider http://super-admintask/push_data/remove_old_data.html
*/1 * * * * wget --spider http://super-admin/task/gouwubi_red_envelope/execu_red_envelope.html
0 4 * * * wget --spider http://super-admin/task/msg_push/rm_old_msg.html
0 5 * * * wget --spider http://super-admin/task/tempfile/del_temp_file.html
0 3 * * * wget --spider http://super-admin/task/get_news/del_old_news_video.html
*/1 * * * * wget --spider http://super-admin/task/live/live_yugao_tuisong.html
0 5 * * * wget --spider http://super-admin/task/video/send_reward.html
* * * * * wget --spider http://super-admin/task/gouwubi_jifen_transfer/execu_transaction_record.html
* * * * * wget --spider http://super-admin/task/mq_tasks/guard_mq_process.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "2.4.0"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: db_port
description: "数据库端口,默认3306"
label: "数据库端口"
required: true
default: "3306"
type: "int"
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
- variable: mq_host
description: "消息队列服务器地址,应用内可直接使用服务名"
label: "消息队列服务器地址"
required: true
default: "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"
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:1.6.2" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: '3306'
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "1.6.2"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
\ No newline at end of file
version: '2' version: '2'
{{- $webImage:="super_admin:2.4.1.0" }} {{- $webImage:="super_admin:2.4.1.0_ulc" }}
{{- $mysqlImage:="mysql:5.6" }} {{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }} {{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }} {{- $timerImage:="task:alpine" }}
......
version: '2'
{{- $webImage:="super_admin:1.7.1" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: '3306'
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "1.7.1"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:1.8.1" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: '3306'
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
*/10 * * * * wget --spider http://super-admin/task/user_vip/expire_tip.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "1.8.1"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
\ No newline at end of file
version: '2'
{{- $webImage:="super_admin:1.8.2" }}
{{- $mysqlImage:="mysql:5.6" }}
{{- $redisImage:="redis:4.0.11" }}
{{- $timerImage:="task:alpine" }}
volumes:
super-resources:
driver: rancher-nfs
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
driver: rancher-nfs
{{- end }}
services:
super-admin:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment:
WEB_HOST: ${web_url}
ANDROID_APP_VERSION_NAME: ${app_version}
DB_HOST: ${db_host}
DB_NAME: wsy_app
DB_PORT: '3306'
DB_PREFIX: t_
DB_PWD: ${db_pass}
DB_USER: ${db_user}
DEBUG: 'false'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
UPLOAD_SIZE: ${upload}
stdin_open: true
volumes:
- super-resources:/var/www/html/public/upload
tty: true
labels:
traefik.web.frontend.rule: Host:${web_url}
traefik.port: '80'
traefik.enable: 'true'
io.rancher.container.pull_image: always
traefik.frontend.headers.customRequestHeaders: X-Forwarded-Proto:https
{{- if eq .Values.db_host "db-mysql" }}
links:
- mysql:mysql
{{- end }}
{{- if eq .Values.redis_host "redis" }}
links:
- redis:redis
{{- end }}
{{- if eq .Values.db_host "db-mysql" }}
db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass}
MY_CNF: '[mysqld]\nmax_allowed_packet = 30M\nevent_scheduler = ON\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: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
{{- end }}
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment:
TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao.html
*/1 * * * * wget --spider http://super-admin/task/msg_push/index.html
0 */3 * * * wget --spider http://super-admin/task/deal_hot_news/index.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/small_change/execu_red_envelope.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_transaction_record.html
*/1 * * * * wget --spider http://super-admin/task/block_red_envelope/execu_red_envelope.html
*/30 * * * * wget --spider http://super-admin/task/collection_video/get_video_list.html
*/1 * * * * wget --spider http://super-admin/task/live/close_live_room.html
*/1 * * * * wget --spider http://super-admin/task/usersync_register/sync_register.html
0 3 * * * wget --spider http://super-admin/task/superior_reward/send_reward.html
0 */3 * * * wget --spider http://super-admin/task/msg_push/delete_old_data.html
*/10 * * * * wget --spider http://super-admin/task/user_vip/expire_tip.html
0 */4 * * * wget --spider http://super-admin/task/deal_hot_news/update_user_fans.html
*/1 * * * * wget --spider http://super-admin/task/export_excel/export.html
*/30 * * * * wget --spider http://super-admin/task/im/register.html
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
version: '2'
catalog:
name: "superAPP | 超级app后台系统"
version: "1.8.2"
description: |
超级app后台系统。
minimum_rancher_version: ""
maximum_rancher_version: ""
upgrade_from: ">=0.0.1"
questions:
- variable: web_url
label: 网站域名
description: |
多个网站域名用英文逗号隔开,不带http/https。
default: ""
required: true
type: string
- variable: db_host
label: MYSQL连接地址
description: |
数据库连接地址
default: "db-mysql"
required: true
type: string
- variable: db_user
label: MYSQL账号
description: |
数据库登录账号,数据库名默认为wsy_app
default: "root"
required: true
type: string
- variable: db_pass
label: MYSQL密码
description: |
数据库登录密码
default: ""
required: true
type: string
- variable: redis_host
label: REDIS连接地址
description: |
Redis缓存地址
default: "redis"
required: true
type: string
- variable: redis_pass
label: REDIS密码
description: |
Redis登录密码
default: ""
required: true
type: string
- variable: upload
label: PHP上传大小
description: |
上传大小设置,单位MByte
default: 128
required: true
type: int
- variable: app_version
label: 安卓app版本号
description: |
安卓app版本号
default: ""
required: true
type: string
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论