提交 ab193322 作者: 429287088

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

上级 02944d67
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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论