Added label for rancher to always pull image before deploying container
This commit is contained in:
@@ -17,6 +17,7 @@ services:
|
||||
NEXTCLOUD_ADMIN_PASSWORD: ${NC_ADMIN_PASS}
|
||||
labels:
|
||||
# io.rancher.container.hostname_override: container_name
|
||||
io.rancher.container.pull_image: always
|
||||
{{- if (.Values.HOST_LABEL)}}
|
||||
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
|
||||
{{- end}}
|
||||
@@ -50,6 +51,7 @@ services:
|
||||
MYSQL_USER: nextcloud_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}}
|
||||
|
||||
Reference in New Issue
Block a user