From 8214e4ac83fc3ba72dd4ba845af91ff834cec41e Mon Sep 17 00:00:00 2001 From: WilliamMiceli <9000802+WilliamMiceli@users.noreply.github.com> Date: Wed, 27 Jun 2018 14:45:25 -0400 Subject: [PATCH] Always Pull Image --- templates/InvoiceNinja/0/docker-compose.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/InvoiceNinja/0/docker-compose.yml b/templates/InvoiceNinja/0/docker-compose.yml index b12acb2..bcfab19 100644 --- a/templates/InvoiceNinja/0/docker-compose.yml +++ b/templates/InvoiceNinja/0/docker-compose.yml @@ -14,6 +14,7 @@ services: DB_USERNAME: root DB_PASSWORD: rootPass labels: + io.rancher.container.pull_image: always io.rancher.scheduler.affinity:host_label: ${LABEL_KEY_VALUE} io.rancher.sidekicks: cron, web links: @@ -46,6 +47,7 @@ services: DB_USERNAME: root DB_PASSWORD: rootPass labels: + io.rancher.container.pull_image: always io.rancher.scheduler.affinity:host_label: ${LABEL_KEY_VALUE} links: - db:ninja-mysql @@ -58,6 +60,7 @@ services: MYSQL_DATABASE: ninja_db MYSQL_ROOT_PASSWORD: rootPass labels: + io.rancher.container.pull_image: always io.rancher.scheduler.affinity:host_label: ${LABEL_KEY_VALUE} restart: on-failure volumes: @@ -65,6 +68,7 @@ services: web: image: nginx labels: + io.rancher.container.pull_image: always io.rancher.scheduler.affinity:host_label: ${LABEL_KEY_VALUE} links: - app