Minor fixes
This commit is contained in:
@@ -20,7 +20,7 @@ services:
|
|||||||
GOOGLE_MAPS_API_KEY: ${GMAPS_KEY}
|
GOOGLE_MAPS_API_KEY: ${GMAPS_KEY}
|
||||||
{{- end}}
|
{{- end}}
|
||||||
labels:
|
labels:
|
||||||
{{- if (.Values.LABEL_KEY_VALUE)}}
|
{{- if (.Values.HOST_LABEL)}}
|
||||||
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
|
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
|
||||||
{{- end}}
|
{{- end}}
|
||||||
io.rancher.sidekicks: cron, web
|
io.rancher.sidekicks: cron, web
|
||||||
@@ -60,7 +60,7 @@ services:
|
|||||||
GOOGLE_MAPS_API_KEY: ${GMAPS_KEY}
|
GOOGLE_MAPS_API_KEY: ${GMAPS_KEY}
|
||||||
{{- end}}
|
{{- end}}
|
||||||
labels:
|
labels:
|
||||||
{{- if (.Values.LABEL_KEY_VALUE)}}
|
{{- if (.Values.HOST_LABEL)}}
|
||||||
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
|
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
|
||||||
{{- end}}
|
{{- end}}
|
||||||
links:
|
links:
|
||||||
@@ -76,7 +76,7 @@ services:
|
|||||||
MYSQL_USER: ninja
|
MYSQL_USER: ninja
|
||||||
MYSQL_PASSWORD: ${DB_USER_PASS}
|
MYSQL_PASSWORD: ${DB_USER_PASS}
|
||||||
labels:
|
labels:
|
||||||
{{- if (.Values.LABEL_KEY_VALUE)}}
|
{{- if (.Values.HOST_LABEL)}}
|
||||||
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
|
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
|
||||||
{{- end}}
|
{{- end}}
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
@@ -85,7 +85,7 @@ services:
|
|||||||
web:
|
web:
|
||||||
image: nginx
|
image: nginx
|
||||||
labels:
|
labels:
|
||||||
{{- if (.Values.LABEL_KEY_VALUE)}}
|
{{- if (.Values.HOST_LABEL)}}
|
||||||
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
|
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
|
||||||
{{- end}}
|
{{- end}}
|
||||||
links:
|
links:
|
||||||
|
|||||||
Reference in New Issue
Block a user