Always pull new image before deploying
This commit is contained in:
@@ -9,6 +9,7 @@ services:
|
|||||||
- CHE_HOST=${HOST_IP}
|
- CHE_HOST=${HOST_IP}
|
||||||
- CHE_PORT=${CHE_PORT}
|
- CHE_PORT=${CHE_PORT}
|
||||||
labels:
|
labels:
|
||||||
|
io.rancher.container.pull_image: always
|
||||||
io.rancher.scheduler.affinity:host_label: ${LABEL_KEY_VALUE}
|
io.rancher.scheduler.affinity:host_label: ${LABEL_KEY_VALUE}
|
||||||
io.rancher.container.hostname_override: eclipse-che
|
io.rancher.container.hostname_override: eclipse-che
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
@@ -97,6 +97,7 @@ services:
|
|||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
- 1.0.0.1
|
- 1.0.0.1
|
||||||
labels:
|
labels:
|
||||||
|
io.rancher.container.pull_image: always
|
||||||
{{- 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}}
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
netdata:
|
netdata:
|
||||||
image: titpetric/netdata:latest
|
image: titpetric/netdata:latest
|
||||||
labels:
|
labels:
|
||||||
|
io.rancher.container.pull_image: always
|
||||||
io.rancher.scheduler.global: 'true'
|
io.rancher.scheduler.global: 'true'
|
||||||
uts: host
|
uts: host
|
||||||
cap_add:
|
cap_add:
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ services:
|
|||||||
MYSQL_PASSWORD: ${DB_USER_PASS}
|
MYSQL_PASSWORD: ${DB_USER_PASS}
|
||||||
APP_ENV:
|
APP_ENV:
|
||||||
labels:
|
labels:
|
||||||
|
io.rancher.container.pull_image: always
|
||||||
{{- 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}}
|
||||||
@@ -43,6 +44,7 @@ services:
|
|||||||
MYSQL_USER: snipe_user
|
MYSQL_USER: snipe_user
|
||||||
MYSQL_PASSWORD: ${DB_USER_PASS}
|
MYSQL_PASSWORD: ${DB_USER_PASS}
|
||||||
labels:
|
labels:
|
||||||
|
io.rancher.container.pull_image: always
|
||||||
{{- 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}}
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ services:
|
|||||||
io.rancher.container.agent.role: environment
|
io.rancher.container.agent.role: environment
|
||||||
io.rancher.container.create_agent: true
|
io.rancher.container.create_agent: true
|
||||||
io.rancher.container.hostname_override: traefik
|
io.rancher.container.hostname_override: traefik
|
||||||
|
io.rancher.container.pull_image: always
|
||||||
{{- 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}}
|
||||||
|
|||||||
@@ -28,6 +28,7 @@ turtl-api:
|
|||||||
stdin_open: true
|
stdin_open: true
|
||||||
tty: true
|
tty: true
|
||||||
labels:
|
labels:
|
||||||
|
io.rancher.container.pull_image: always
|
||||||
io.rancher.sidekicks: turtl-api-data
|
io.rancher.sidekicks: turtl-api-data
|
||||||
volumes_from:
|
volumes_from:
|
||||||
- turtl-api-data
|
- turtl-api-data
|
||||||
Reference in New Issue
Block a user