Always pull new image before deploying
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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}}
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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}}
|
||||
|
||||
@@ -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}}
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user