提交 6928262f 作者: 施泽锋

去除判断

上级 ed7898df
......@@ -11,6 +11,7 @@
version: '2'
services:
{{- if eq .Values.redis_host "bc-redis"}}
bc-redis:
image: {{$redisImage}}
environment:
......@@ -24,6 +25,7 @@ services:
max-file: '3'
labels:
io.rancher.container.pull_image: always
{{- end }}
bc-task:
image: {{$taskImage}}
environment:
......@@ -85,6 +87,7 @@ services:
io.rancher.container.pull_image: always
traefik.frontend.redirect.replacement: "/wsy_blockchain/web/index.php?m=function&a=checkout_file&check_file=$${1}"
traefik.frontend.redirect.regex: /(\\w*).txt$$
{{- if eq .Values.db_host "bc-db" }}
bc-db:
image: {{$dbImage}}
environment:
......@@ -102,6 +105,7 @@ services:
max-file: '3'
labels:
io.rancher.container.pull_image: always
{{- end }}
bc-sdk:
image: {{$sdkImage}}
stdin_open: true
......
......@@ -220,9 +220,6 @@ catalog:
- registry.cn-hangzhou.aliyuncs.com/weisanyun
- reg.wsy010.cn/blockchain
services:
bc-redis:
scale: 1
start_on_create: true
bc-task:
scale: 1
start_on_create: true
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论