提交 ab193322 作者: 429287088

镜像加速仓库及debug统一修改模板

上级 02944d67
version: '2'
{{- if (.Values.docker_registry)}}
{{$docker_registry := ${docker_registry_url} }}
{{else}}
{{$docker_registry := "registry.cn-shenzhen.aliyuncs.com/wsy_dev" }}
{{- end}}
volumes:
public:
driver: ${volume_driver}
......@@ -16,7 +21,7 @@ volumes:
driver: ${volume_driver}
services:
shop:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/wsycloud-shop:v0.1.6
image: ${docker_registry}/wsycloud-shop:v0.1.6
environment:
APP_INTRANET_DOMAIN: http://shop
DB_HOST_shop: ${db_host}
......@@ -26,7 +31,7 @@ services:
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
WSY_SHOP: ${db_pr}shop
DEBUG: 'false'
DEBUG: ${debug_mode}
stdin_open: true
volumes:
- public:/var/www/html/public
......@@ -41,11 +46,11 @@ services:
traefik.enable: 'true'
io.rancher.container.pull_image: always
rebate:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/wsy_rebate:v0.1.6
image: ${docker_registry}/wsy_rebate:v0.1.6
environment:
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
DEBUG: 'false'
DEBUG: ${debug_mode}
stdin_open: true
volumes:
- public:/var/www/html/public
......@@ -60,11 +65,11 @@ services:
traefik.frontend.priority: '10'
io.rancher.container.pull_image: always
channel:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/wsycloud-channel:v0.1.6
image: ${docker_registry}/wsycloud-channel:v0.1.6
environment:
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
DEBUG: 'false'
DEBUG: ${debug_mode}
stdin_open: true
volumes:
- public:/var/www/html/public
......@@ -79,7 +84,7 @@ services:
traefik.enable: 'true'
io.rancher.container.pull_image: always
db-mysql:
image: registry.cn-hangzhou.aliyuncs.com/weisanyun/mysql:5.6
image: ${docker_registry}/weisanyun/mysql:5.6
environment:
LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pwd}
......@@ -91,11 +96,11 @@ services:
labels:
io.rancher.container.pull_image: always
pay:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/wsy_pay:v0.1.6
image: ${docker_registry}/wsy_pay:v0.1.6
environment:
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
DEBUG: 'false'
DEBUG: ${debug_mode}
stdin_open: true
volumes:
- public:/var/www/html/public
......@@ -110,7 +115,7 @@ services:
traefik.frontend.priority: '10'
io.rancher.container.pull_image: always
redis:
image: bitnami/redis:4.0
image: ${docker_registry}/redis:4.0
environment:
REDIS_PASSWORD: ${redis_pass}
stdin_open: true
......@@ -118,7 +123,7 @@ services:
labels:
io.rancher.container.pull_image: always
mq-server:
image: rabbitmq:3.6.16-management-alpine
image: ${docker_registry}/rabbitmq:3.6.16-management-alpine
environment:
RABBITMQ_DEFAULT_USER: ${mquser}
RABBITMQ_DEFAULT_PASS: ${mqpass}
......@@ -128,7 +133,7 @@ services:
labels:
io.rancher.container.pull_image: always
timmer:
image: registry.cn-hangzhou.aliyuncs.com/weisanyun/task:alpine
image: ${docker_registry}/task:alpine
environment:
TASK_CNF: '*/1 * * * * wget --spider ''http://task/wsy_task/admin/index.php?m=task_dispatch&a=run_task'''
stdin_open: true
......@@ -136,7 +141,7 @@ services:
labels:
io.rancher.container.pull_image: always
task:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/wsycloud-task:v0.1.5
image: ${docker_registry}/wsycloud-task:v0.1.5
environment:
DB_HOST_task: ${db_host}
DB_PORT_task: '3306'
......@@ -151,7 +156,7 @@ services:
labels:
io.rancher.container.pull_image: always
public:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/public:v0.1.6
image: ${docker_registry}/public:v0.1.6
environment:
DB_HOST: ${db_host}
DB_PORT: '3306'
......@@ -182,7 +187,7 @@ services:
labels:
io.rancher.container.pull_image: always
html:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/html:v0.1.6
image: ${docker_registry}/html:v0.1.6
stdin_open: true
volumes:
- HTML:/var/www/html/HTML
......@@ -190,11 +195,11 @@ services:
labels:
io.rancher.container.pull_image: always
pub:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/wsy_pub:v0.1.6
image: ${docker_registry}/wsy_pub:v0.1.6
environment:
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
DEBUG: 'false'
DEBUG: ${debug_mode}
stdin_open: true
volumes:
- public:/var/www/html/public
......@@ -209,11 +214,11 @@ services:
traefik.frontend.priority: '10'
io.rancher.container.pull_image: always
user:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/wsy_user:v0.1.6
image: ${docker_registry}/wsy_user:v0.1.6
environment:
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
DEBUG: 'false'
DEBUG: ${debug_mode}
stdin_open: true
volumes:
- public:/var/www/html/public
......@@ -228,7 +233,7 @@ services:
traefik.frontend.priority: '10'
io.rancher.container.pull_image: always
queue:
image: registry.cn-shenzhen.aliyuncs.com/wsy_dev/wsycloud-queue:v0.1.6
image: ${docker_registry}/wsycloud-queue:v0.1.6
environment:
MQ_HOST: ${mq_host}
MQ_USER: ${mquser}
......@@ -237,7 +242,7 @@ services:
MQ_PORT: '5672'
REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass}
DEBUG: 'false'
DEBUG: ${debug_mode}
stdin_open: true
tty: true
labels:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论