cron container can stay as sidekick
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user