Always pull new images

This commit is contained in:
WilliamMiceli
2018-08-13 15:43:54 -04:00
parent 5f3e9a48d1
commit 126d33dabf
7 changed files with 20 additions and 8 deletions

View File

@@ -11,6 +11,7 @@ services:
ROOT_PASSWORD: ${WEBMIN_ROOT_PASS} ROOT_PASSWORD: ${WEBMIN_ROOT_PASS}
{{- end}} {{- end}}
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}}

View File

@@ -1,4 +1,6 @@
ghost: ghost:
image: ghost image: ghost
labels:
io.rancher.container.pull_image: always
ports: ports:
- ${public_port}:2368 - ${public_port}:2368

View File

@@ -1,9 +1,11 @@
grafana: grafana:
image: grafana/grafana:4.2.0 image: grafana/grafana:4.2.0
ports: labels:
- ${http_port}:3000 io.rancher.container.pull_image: always
environment: ports:
GF_SECURITY_ADMIN_USER: ${admin_username} - ${http_port}:3000
GF_SECURITY_ADMIN_PASSWORD: ${admin_password} environment:
GF_SECURITY_SECRET_KEY: ${secret_key} GF_SECURITY_ADMIN_USER: ${admin_username}
GF_INSTALL_PLUGINS: ${install_plugins} GF_SECURITY_ADMIN_PASSWORD: ${admin_password}
GF_SECURITY_SECRET_KEY: ${secret_key}
GF_INSTALL_PLUGINS: ${install_plugins}

View File

@@ -23,6 +23,7 @@ services:
GOOGLE_MAPS_API_KEY: ${GMAPS_KEY} GOOGLE_MAPS_API_KEY: ${GMAPS_KEY}
{{- end}} {{- end}}
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}}
@@ -66,6 +67,7 @@ services:
GOOGLE_MAPS_API_KEY: ${GMAPS_KEY} GOOGLE_MAPS_API_KEY: ${GMAPS_KEY}
{{- end}} {{- end}}
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}}
@@ -85,6 +87,7 @@ services:
MYSQL_USER: ninja MYSQL_USER: ninja
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}}

View File

@@ -1,5 +1,7 @@
mumble: mumble:
image: ranchercb/murmur:latest image: ranchercb/murmur:latest
labels:
io.rancher.container.pull_image: always
ports: ports:
- 64738:64738 - 64738:64738
- 64738:64738/udp - 64738:64738/udp

View File

@@ -7,6 +7,7 @@ services:
ports: ports:
- ${OPENPROJECT_PORT}:80 - ${OPENPROJECT_PORT}:80
labels: labels:
io.rancher.container.pull_image: always
io.rancher.sidekicks: openproject-data io.rancher.sidekicks: openproject-data
io.rancher.container.hostname_override: container_name io.rancher.container.hostname_override: container_name
openproject-data: openproject-data:

View File

@@ -7,6 +7,7 @@ services:
external_url ${EXTERNAL_URL} external_url ${EXTERNAL_URL}
hostname: ${HOSTNAME} hostname: ${HOSTNAME}
labels: labels:
io.rancher.container.pull_image: always
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL_KEY}=${HOST_LABEL_VALUE} io.rancher.scheduler.affinity:host_label: ${HOST_LABEL_KEY}=${HOST_LABEL_VALUE}
restart: always restart: always
volumes: volumes: