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}
{{- end}}
labels:
io.rancher.container.pull_image: always
{{- if (.Values.HOST_LABEL)}}
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
{{- end}}

View File

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

View File

@@ -1,9 +1,11 @@
grafana:
image: grafana/grafana:4.2.0
ports:
- ${http_port}:3000
environment:
GF_SECURITY_ADMIN_USER: ${admin_username}
GF_SECURITY_ADMIN_PASSWORD: ${admin_password}
GF_SECURITY_SECRET_KEY: ${secret_key}
GF_INSTALL_PLUGINS: ${install_plugins}
image: grafana/grafana:4.2.0
labels:
io.rancher.container.pull_image: always
ports:
- ${http_port}:3000
environment:
GF_SECURITY_ADMIN_USER: ${admin_username}
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}
{{- end}}
labels:
io.rancher.container.pull_image: always
{{- if (.Values.HOST_LABEL)}}
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
{{- end}}
@@ -66,6 +67,7 @@ services:
GOOGLE_MAPS_API_KEY: ${GMAPS_KEY}
{{- end}}
labels:
io.rancher.container.pull_image: always
{{- if (.Values.HOST_LABEL)}}
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
{{- end}}
@@ -85,6 +87,7 @@ services:
MYSQL_USER: ninja
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

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

View File

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

View File

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