提交 e4c21f35 作者: 429287088

1

上级 1025656d
{{- $redisImage:=printf "%s/redis:4.0" .Values.docker_registry}}
{{- $dbImage:=printf "%s/mysql:5.6" .Values.docker_registry}}
{{- $shopImage:=printf "%s/wsycloud-shop:v0.2.9" .Values.docker_registry}}
{{- $rebateImage:=printf "%s/wsy_rebate:v0.2.9" .Values.docker_registry}}
{{- $channelImage:=printf "%s/wsycloud-channel:v0.2.9" .Values.docker_registry}}
{{- $payImage:=printf "%s/wsy_pay:v0.2.9" .Values.docker_registry}}
{{- $rabbitmqImage:=printf "%s/rabbitmq:3.6.16-management-alpine" .Values.docker_registry}}
{{- $timmerImage:=printf "%s/task:alpine" .Values.docker_registry}}
{{- $taskImage:=printf "%s/wsycloud-task:v0.2.9" .Values.docker_registry}}
{{- $publicImage:=printf "%s/public:v0.2.9" .Values.docker_registry}}
{{- $htmlImage:=printf "%s/html:v0.2.9" .Values.docker_registry}}
{{- $pubImage:=printf "%s/wsy_pub:v0.2.9" .Values.docker_registry}}
{{- $userImage:=printf "%s/wsy_user:v0.2.9" .Values.docker_registry}}
{{- $queueImage:=printf "%s/wsycloud-queue:v0.2.9" .Values.docker_registry}}
version: '2' version: '2'
volumes: volumes:
public: public:
...@@ -16,7 +32,7 @@ volumes: ...@@ -16,7 +32,7 @@ volumes:
driver: ${volume_driver} driver: ${volume_driver}
services: services:
shop: shop:
image: ${docker_registry}/wsycloud-shop:v0.2.2 image: {{$shopImage}}
environment: environment:
APP_INTRANET_DOMAIN: http://shop APP_INTRANET_DOMAIN: http://shop
DB_HOST_shop: ${db_host} DB_HOST_shop: ${db_host}
...@@ -41,7 +57,7 @@ services: ...@@ -41,7 +57,7 @@ services:
traefik.enable: 'true' traefik.enable: 'true'
io.rancher.container.pull_image: always io.rancher.container.pull_image: always
rebate: rebate:
image: ${docker_registry}/wsy_rebate:v0.2.2 image: {{$rebateImage}}
environment: environment:
REDIS_HOST: ${redis_host} REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass} REDIS_PASS: ${redis_pass}
...@@ -60,7 +76,7 @@ services: ...@@ -60,7 +76,7 @@ services:
traefik.frontend.priority: '10' traefik.frontend.priority: '10'
io.rancher.container.pull_image: always io.rancher.container.pull_image: always
channel: channel:
image: ${docker_registry}/wsycloud-channel:v0.2.2 image: {{$channelImage}}
environment: environment:
REDIS_HOST: ${redis_host} REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass} REDIS_PASS: ${redis_pass}
...@@ -79,7 +95,7 @@ services: ...@@ -79,7 +95,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: ${docker_registry}/mysql:5.6 image: {{$dbImage}}
environment: environment:
LANG: C.UTF-8 LANG: C.UTF-8
MYSQL_ROOT_PASSWORD: ${db_pwd} MYSQL_ROOT_PASSWORD: ${db_pwd}
...@@ -91,7 +107,7 @@ services: ...@@ -91,7 +107,7 @@ services:
labels: labels:
io.rancher.container.pull_image: always io.rancher.container.pull_image: always
pay: pay:
image: ${docker_registry}/wsy_pay:v0.2.2 image: {{$payImage}}
environment: environment:
REDIS_HOST: ${redis_host} REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass} REDIS_PASS: ${redis_pass}
...@@ -110,7 +126,7 @@ services: ...@@ -110,7 +126,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: ${docker_registry}/redis:4.0 image: {{$redisImage}}
environment: environment:
REDIS_PASSWORD: ${redis_pass} REDIS_PASSWORD: ${redis_pass}
stdin_open: true stdin_open: true
...@@ -118,7 +134,7 @@ services: ...@@ -118,7 +134,7 @@ services:
labels: labels:
io.rancher.container.pull_image: always io.rancher.container.pull_image: always
mq-server: mq-server:
image: ${docker_registry}/rabbitmq:3.6.16-management-alpine image: {{$rabbitmqImage}}
environment: environment:
RABBITMQ_DEFAULT_USER: ${mquser} RABBITMQ_DEFAULT_USER: ${mquser}
RABBITMQ_DEFAULT_PASS: ${mqpass} RABBITMQ_DEFAULT_PASS: ${mqpass}
...@@ -128,7 +144,7 @@ services: ...@@ -128,7 +144,7 @@ services:
labels: labels:
io.rancher.container.pull_image: always io.rancher.container.pull_image: always
timmer: timmer:
image: ${docker_registry}/task:alpine image: {{$timmerImage}}
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 +152,7 @@ services: ...@@ -136,7 +152,7 @@ services:
labels: labels:
io.rancher.container.pull_image: always io.rancher.container.pull_image: always
task: task:
image: ${docker_registry}/wsycloud-task:v0.2.2 image: {{$taskImage}}
environment: environment:
DB_HOST_task: ${db_host} DB_HOST_task: ${db_host}
DB_PORT_task: '3306' DB_PORT_task: '3306'
...@@ -151,7 +167,7 @@ services: ...@@ -151,7 +167,7 @@ services:
labels: labels:
io.rancher.container.pull_image: always io.rancher.container.pull_image: always
public: public:
image: ${docker_registry}/public:v0.2.2 image: {{$publicImage}}
environment: environment:
DB_HOST: ${db_host} DB_HOST: ${db_host}
DB_PORT: '3306' DB_PORT: '3306'
...@@ -182,7 +198,7 @@ services: ...@@ -182,7 +198,7 @@ services:
labels: labels:
io.rancher.container.pull_image: always io.rancher.container.pull_image: always
html: html:
image: ${docker_registry}/html:v0.2.2 image: {{$htmlImage}}
stdin_open: true stdin_open: true
volumes: volumes:
- HTML:/var/www/html/HTML - HTML:/var/www/html/HTML
...@@ -190,7 +206,7 @@ services: ...@@ -190,7 +206,7 @@ services:
labels: labels:
io.rancher.container.pull_image: always io.rancher.container.pull_image: always
pub: pub:
image: ${docker_registry}/wsy_pub:v0.2.2 image: {{$pubImage}}
environment: environment:
REDIS_HOST: ${redis_host} REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass} REDIS_PASS: ${redis_pass}
...@@ -209,7 +225,7 @@ services: ...@@ -209,7 +225,7 @@ services:
traefik.frontend.priority: '10' traefik.frontend.priority: '10'
io.rancher.container.pull_image: always io.rancher.container.pull_image: always
user: user:
image: ${docker_registry}/wsy_user:v0.2.2 image: {{$userImage}}
environment: environment:
REDIS_HOST: ${redis_host} REDIS_HOST: ${redis_host}
REDIS_PASS: ${redis_pass} REDIS_PASS: ${redis_pass}
...@@ -228,7 +244,7 @@ services: ...@@ -228,7 +244,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: ${docker_registry}/wsycloud-queue:v0.2.2 image: {{$queueImage}}
environment: environment:
MQ_HOST: ${mq_host} MQ_HOST: ${mq_host}
MQ_USER: ${mquser} MQ_USER: ${mquser}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论