Always pull new image before deploying

This commit is contained in:
WilliamMiceli
2018-08-08 02:52:49 -04:00
parent da6ca0a9fc
commit 6a90d444e0
6 changed files with 7 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ services:
- CHE_HOST=${HOST_IP}
- CHE_PORT=${CHE_PORT}
labels:
io.rancher.container.pull_image: always
io.rancher.scheduler.affinity:host_label: ${LABEL_KEY_VALUE}
io.rancher.container.hostname_override: eclipse-che
ports:

View File

@@ -97,6 +97,7 @@ services:
- 1.1.1.1
- 1.0.0.1
labels:
io.rancher.container.pull_image: always
{{- if (.Values.HOST_LABEL)}}
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
{{- end}}

View File

@@ -1,6 +1,7 @@
netdata:
image: titpetric/netdata:latest
labels:
io.rancher.container.pull_image: always
io.rancher.scheduler.global: 'true'
uts: host
cap_add:

View File

@@ -19,6 +19,7 @@ services:
MYSQL_PASSWORD: ${DB_USER_PASS}
APP_ENV:
labels:
io.rancher.container.pull_image: always
{{- if (.Values.HOST_LABEL)}}
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
{{- end}}
@@ -43,6 +44,7 @@ services:
MYSQL_USER: snipe_user
MYSQL_PASSWORD: ${DB_USER_PASS}
labels:
io.rancher.container.pull_image: always
{{- if (.Values.HOST_LABEL)}}
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
{{- end}}

View File

@@ -8,6 +8,7 @@ services:
io.rancher.container.agent.role: environment
io.rancher.container.create_agent: true
io.rancher.container.hostname_override: traefik
io.rancher.container.pull_image: always
{{- if (.Values.HOST_LABEL)}}
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
{{- end}}

View File

@@ -28,6 +28,7 @@ turtl-api:
stdin_open: true
tty: true
labels:
io.rancher.container.pull_image: always
io.rancher.sidekicks: turtl-api-data
volumes_from:
- turtl-api-data