Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
catalog
概览
概览
详情
活动
周期分析
版本库
存储库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
陈少雄
catalog
Commits
ab193322
提交
ab193322
authored
11月 13, 2018
作者:
429287088
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
镜像加速仓库及debug统一修改模板
上级
02944d67
显示空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
26 行增加
和
21 行删除
+26
-21
docker-compose.yml
templates/wsycloud/0/docker-compose.yml
+26
-21
没有找到文件。
templates/wsycloud/0/docker-compose.yml
浏览文件 @
ab193322
version
:
'
2'
version
:
'
2'
{{
- if (.Values.docker_registry)
}}
{{
$docker_registry
:
= $
{
docker_registry_url
}
}}
{{
else
}}
{{
$docker_registry
:
= "registry.cn-shenzhen.aliyuncs.com/wsy_dev"
}}
{{
- end
}}
volumes
:
volumes
:
public
:
public
:
driver
:
${volume_driver}
driver
:
${volume_driver}
...
@@ -16,7 +21,7 @@ volumes:
...
@@ -16,7 +21,7 @@ volumes:
driver
:
${volume_driver}
driver
:
${volume_driver}
services
:
services
:
shop
:
shop
:
image
:
registry.cn-shenzhen.aliyuncs.com/wsy_dev
/wsycloud-shop:v0.1.6
image
:
${docker_registry}
/wsycloud-shop:v0.1.6
environment
:
environment
:
APP_INTRANET_DOMAIN
:
http://shop
APP_INTRANET_DOMAIN
:
http://shop
DB_HOST_shop
:
${db_host}
DB_HOST_shop
:
${db_host}
...
@@ -26,7 +31,7 @@ services:
...
@@ -26,7 +31,7 @@ services:
REDIS_HOST
:
${redis_host}
REDIS_HOST
:
${redis_host}
REDIS_PASS
:
${redis_pass}
REDIS_PASS
:
${redis_pass}
WSY_SHOP
:
${db_pr}shop
WSY_SHOP
:
${db_pr}shop
DEBUG
:
'
false'
DEBUG
:
${debug_mode}
stdin_open
:
true
stdin_open
:
true
volumes
:
volumes
:
-
public:/var/www/html/public
-
public:/var/www/html/public
...
@@ -41,11 +46,11 @@ services:
...
@@ -41,11 +46,11 @@ services:
traefik.enable
:
'
true'
traefik.enable
:
'
true'
io.rancher.container.pull_image
:
always
io.rancher.container.pull_image
:
always
rebate
:
rebate
:
image
:
registry.cn-shenzhen.aliyuncs.com/wsy_dev
/wsy_rebate:v0.1.6
image
:
${docker_registry}
/wsy_rebate:v0.1.6
environment
:
environment
:
REDIS_HOST
:
${redis_host}
REDIS_HOST
:
${redis_host}
REDIS_PASS
:
${redis_pass}
REDIS_PASS
:
${redis_pass}
DEBUG
:
'
false'
DEBUG
:
${debug_mode}
stdin_open
:
true
stdin_open
:
true
volumes
:
volumes
:
-
public:/var/www/html/public
-
public:/var/www/html/public
...
@@ -60,11 +65,11 @@ services:
...
@@ -60,11 +65,11 @@ services:
traefik.frontend.priority
:
'
10'
traefik.frontend.priority
:
'
10'
io.rancher.container.pull_image
:
always
io.rancher.container.pull_image
:
always
channel
:
channel
:
image
:
registry.cn-shenzhen.aliyuncs.com/wsy_dev
/wsycloud-channel:v0.1.6
image
:
${docker_registry}
/wsycloud-channel:v0.1.6
environment
:
environment
:
REDIS_HOST
:
${redis_host}
REDIS_HOST
:
${redis_host}
REDIS_PASS
:
${redis_pass}
REDIS_PASS
:
${redis_pass}
DEBUG
:
'
false'
DEBUG
:
${debug_mode}
stdin_open
:
true
stdin_open
:
true
volumes
:
volumes
:
-
public:/var/www/html/public
-
public:/var/www/html/public
...
@@ -79,7 +84,7 @@ services:
...
@@ -79,7 +84,7 @@ services:
traefik.enable
:
'
true'
traefik.enable
:
'
true'
io.rancher.container.pull_image
:
always
io.rancher.container.pull_image
:
always
db-mysql
:
db-mysql
:
image
:
registry.cn-hangzhou.aliyuncs.com
/weisanyun/mysql:5.6
image
:
${docker_registry}
/weisanyun/mysql:5.6
environment
:
environment
:
LANG
:
C.UTF-8
LANG
:
C.UTF-8
MYSQL_ROOT_PASSWORD
:
${db_pwd}
MYSQL_ROOT_PASSWORD
:
${db_pwd}
...
@@ -91,11 +96,11 @@ services:
...
@@ -91,11 +96,11 @@ services:
labels
:
labels
:
io.rancher.container.pull_image
:
always
io.rancher.container.pull_image
:
always
pay
:
pay
:
image
:
registry.cn-shenzhen.aliyuncs.com/wsy_dev
/wsy_pay:v0.1.6
image
:
${docker_registry}
/wsy_pay:v0.1.6
environment
:
environment
:
REDIS_HOST
:
${redis_host}
REDIS_HOST
:
${redis_host}
REDIS_PASS
:
${redis_pass}
REDIS_PASS
:
${redis_pass}
DEBUG
:
'
false'
DEBUG
:
${debug_mode}
stdin_open
:
true
stdin_open
:
true
volumes
:
volumes
:
-
public:/var/www/html/public
-
public:/var/www/html/public
...
@@ -110,7 +115,7 @@ services:
...
@@ -110,7 +115,7 @@ services:
traefik.frontend.priority
:
'
10'
traefik.frontend.priority
:
'
10'
io.rancher.container.pull_image
:
always
io.rancher.container.pull_image
:
always
redis
:
redis
:
image
:
bitnami
/redis:4.0
image
:
${docker_registry}
/redis:4.0
environment
:
environment
:
REDIS_PASSWORD
:
${redis_pass}
REDIS_PASSWORD
:
${redis_pass}
stdin_open
:
true
stdin_open
:
true
...
@@ -118,7 +123,7 @@ services:
...
@@ -118,7 +123,7 @@ services:
labels
:
labels
:
io.rancher.container.pull_image
:
always
io.rancher.container.pull_image
:
always
mq-server
:
mq-server
:
image
:
rabbitmq:3.6.16-management-alpine
image
:
${docker_registry}/
rabbitmq:3.6.16-management-alpine
environment
:
environment
:
RABBITMQ_DEFAULT_USER
:
${mquser}
RABBITMQ_DEFAULT_USER
:
${mquser}
RABBITMQ_DEFAULT_PASS
:
${mqpass}
RABBITMQ_DEFAULT_PASS
:
${mqpass}
...
@@ -128,7 +133,7 @@ services:
...
@@ -128,7 +133,7 @@ services:
labels
:
labels
:
io.rancher.container.pull_image
:
always
io.rancher.container.pull_image
:
always
timmer
:
timmer
:
image
:
registry.cn-hangzhou.aliyuncs.com/weisanyun
/task:alpine
image
:
${docker_registry}
/task:alpine
environment
:
environment
:
TASK_CNF
:
'
*/1
*
*
*
*
wget
--spider
'
'
http://task/wsy_task/admin/index.php?m=task_dispatch&a=run_task'
'
'
TASK_CNF
:
'
*/1
*
*
*
*
wget
--spider
'
'
http://task/wsy_task/admin/index.php?m=task_dispatch&a=run_task'
'
'
stdin_open
:
true
stdin_open
:
true
...
@@ -136,7 +141,7 @@ services:
...
@@ -136,7 +141,7 @@ services:
labels
:
labels
:
io.rancher.container.pull_image
:
always
io.rancher.container.pull_image
:
always
task
:
task
:
image
:
registry.cn-shenzhen.aliyuncs.com/wsy_dev
/wsycloud-task:v0.1.5
image
:
${docker_registry}
/wsycloud-task:v0.1.5
environment
:
environment
:
DB_HOST_task
:
${db_host}
DB_HOST_task
:
${db_host}
DB_PORT_task
:
'
3306'
DB_PORT_task
:
'
3306'
...
@@ -151,7 +156,7 @@ services:
...
@@ -151,7 +156,7 @@ services:
labels
:
labels
:
io.rancher.container.pull_image
:
always
io.rancher.container.pull_image
:
always
public
:
public
:
image
:
registry.cn-shenzhen.aliyuncs.com/wsy_dev
/public:v0.1.6
image
:
${docker_registry}
/public:v0.1.6
environment
:
environment
:
DB_HOST
:
${db_host}
DB_HOST
:
${db_host}
DB_PORT
:
'
3306'
DB_PORT
:
'
3306'
...
@@ -182,7 +187,7 @@ services:
...
@@ -182,7 +187,7 @@ services:
labels
:
labels
:
io.rancher.container.pull_image
:
always
io.rancher.container.pull_image
:
always
html
:
html
:
image
:
registry.cn-shenzhen.aliyuncs.com/wsy_dev
/html:v0.1.6
image
:
${docker_registry}
/html:v0.1.6
stdin_open
:
true
stdin_open
:
true
volumes
:
volumes
:
-
HTML:/var/www/html/HTML
-
HTML:/var/www/html/HTML
...
@@ -190,11 +195,11 @@ services:
...
@@ -190,11 +195,11 @@ services:
labels
:
labels
:
io.rancher.container.pull_image
:
always
io.rancher.container.pull_image
:
always
pub
:
pub
:
image
:
registry.cn-shenzhen.aliyuncs.com/wsy_dev
/wsy_pub:v0.1.6
image
:
${docker_registry}
/wsy_pub:v0.1.6
environment
:
environment
:
REDIS_HOST
:
${redis_host}
REDIS_HOST
:
${redis_host}
REDIS_PASS
:
${redis_pass}
REDIS_PASS
:
${redis_pass}
DEBUG
:
'
false'
DEBUG
:
${debug_mode}
stdin_open
:
true
stdin_open
:
true
volumes
:
volumes
:
-
public:/var/www/html/public
-
public:/var/www/html/public
...
@@ -209,11 +214,11 @@ services:
...
@@ -209,11 +214,11 @@ services:
traefik.frontend.priority
:
'
10'
traefik.frontend.priority
:
'
10'
io.rancher.container.pull_image
:
always
io.rancher.container.pull_image
:
always
user
:
user
:
image
:
registry.cn-shenzhen.aliyuncs.com/wsy_dev
/wsy_user:v0.1.6
image
:
${docker_registry}
/wsy_user:v0.1.6
environment
:
environment
:
REDIS_HOST
:
${redis_host}
REDIS_HOST
:
${redis_host}
REDIS_PASS
:
${redis_pass}
REDIS_PASS
:
${redis_pass}
DEBUG
:
'
false'
DEBUG
:
${debug_mode}
stdin_open
:
true
stdin_open
:
true
volumes
:
volumes
:
-
public:/var/www/html/public
-
public:/var/www/html/public
...
@@ -228,7 +233,7 @@ services:
...
@@ -228,7 +233,7 @@ services:
traefik.frontend.priority
:
'
10'
traefik.frontend.priority
:
'
10'
io.rancher.container.pull_image
:
always
io.rancher.container.pull_image
:
always
queue
:
queue
:
image
:
registry.cn-shenzhen.aliyuncs.com/wsy_dev
/wsycloud-queue:v0.1.6
image
:
${docker_registry}
/wsycloud-queue:v0.1.6
environment
:
environment
:
MQ_HOST
:
${mq_host}
MQ_HOST
:
${mq_host}
MQ_USER
:
${mquser}
MQ_USER
:
${mquser}
...
@@ -237,7 +242,7 @@ services:
...
@@ -237,7 +242,7 @@ services:
MQ_PORT
:
'
5672'
MQ_PORT
:
'
5672'
REDIS_HOST
:
${redis_host}
REDIS_HOST
:
${redis_host}
REDIS_PASS
:
${redis_pass}
REDIS_PASS
:
${redis_pass}
DEBUG
:
'
false'
DEBUG
:
${debug_mode}
stdin_open
:
true
stdin_open
:
true
tty
:
true
tty
:
true
labels
:
labels
:
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论