cron container can stay as sidekick

This commit is contained in:
WilliamMiceli
2018-10-06 00:07:28 -04:00
parent 058160765a
commit 3209ad1e9b

View File

@@ -10,6 +10,7 @@ services:
{{- if (.Values.HOST_LABEL)}} {{- if (.Values.HOST_LABEL)}}
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL} io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
{{- end}} {{- end}}
io.rancher.sidekicks: cron
links: links:
- mysql - mysql
restart: on-failure restart: on-failure
@@ -40,10 +41,8 @@ services:
links: links:
- mysql - mysql
restart: on-failure restart: on-failure
volumes: volumes_from:
- /RancherCattleConfig/${DATA_DIR}/.env:/var/www/app/.env - app
- /RancherCattleData/${DATA_DIR}/Logo:/var/www/app/public/logo
- /RancherCattleData/${DATA_DIR}/Storage:/var/www/app/storage
mysql: mysql:
image: mysql:5 image: mysql:5
dns: dns: