提交 1109f42e 作者: 施泽锋

1

上级 0620014a
...@@ -31,7 +31,7 @@ services: ...@@ -31,7 +31,7 @@ services:
INIT_DB: ${init_db_enable} INIT_DB: ${init_db_enable}
{{- if eq .Values.db_host "db-mysql" }} {{- if eq .Values.db_host "db-mysql" }}
links: links:
- db-mysql - db-mysql:mysql
{{- end }} {{- end }}
{{- if eq .Values.redis_host "redis" }} {{- if eq .Values.redis_host "redis" }}
links: links:
...@@ -71,6 +71,10 @@ services: ...@@ -71,6 +71,10 @@ services:
REDIS_PASSWORD: ${redis_pwd} REDIS_PASSWORD: ${redis_pwd}
stdin_open: true stdin_open: true
tty: true tty: true
{{- if eq .Values.db_host "db-mysql" }}
links:
- db-mysql:mysql
{{- end }}
labels: labels:
io.rancher.container.pull_image: always io.rancher.container.pull_image: always
{{- end }} {{- end }}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论