提交 9670f293 作者: Administrator

更新 docker-compose.yml

上级 93256bbf
...@@ -12,7 +12,7 @@ volumes: ...@@ -12,7 +12,7 @@ volumes:
{{- end }} {{- end }}
services: services:
super-admin: super-admin:
image: registry.cn-shenzhen.aliyuncs.com/weisanyun/{{$webImage}} image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$webImage}}
environment: environment:
DB_HOST: ${db_host} DB_HOST: ${db_host}
DB_NAME: wsy_app DB_NAME: wsy_app
...@@ -44,7 +44,7 @@ services: ...@@ -44,7 +44,7 @@ services:
{{- end }} {{- end }}
{{- if eq .Values.db_host "db-mysql" }} {{- if eq .Values.db_host "db-mysql" }}
db-mysql: db-mysql:
image: registry.cn-shenzhen.aliyuncs.com/weisanyun/{{$mysqlImage}} image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$mysqlImage}}
environment: environment:
LANG: C.UTF-8 LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pass} MYSQL_ROOT_PASSWORD: ${db_pass}
...@@ -58,7 +58,7 @@ services: ...@@ -58,7 +58,7 @@ services:
{{- end }} {{- end }}
{{- if eq .Values.redis_host "redis" }} {{- if eq .Values.redis_host "redis" }}
redis: redis:
image: registry.cn-shenzhen.aliyuncs.com/weisanyun/{{$redisImage}} image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$redisImage}}
environment: environment:
REDIS_PASSWORD: ${redis_pass} REDIS_PASSWORD: ${redis_pass}
stdin_open: true stdin_open: true
...@@ -67,7 +67,7 @@ services: ...@@ -67,7 +67,7 @@ services:
io.rancher.container.pull_image: always io.rancher.container.pull_image: always
{{- end }} {{- end }}
task: task:
image: image: registry.cn-shenzhen.aliyuncs.com/weisanyun/{{$timerImage}} image: image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/{{$timerImage}}
environment: environment:
TASK_CNF: |- TASK_CNF: |-
0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao 0 */3 * * * wget --spider http://super-admin/task/get_news/collection_toutiao
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论