Formatting

This commit is contained in:
WilliamMiceli
2018-08-07 20:30:31 -04:00
parent dc62d5d867
commit 709cfaf7be

View File

@@ -7,19 +7,19 @@ services:
- 1.0.0.1 - 1.0.0.1
environment: environment:
WEBMIN_ENABLED: ${WEBMIN_ENABLED} WEBMIN_ENABLED: ${WEBMIN_ENABLED}
{{- if eq .Values.WEBMIN_ENABLED "true"}} {{- if eq .Values.WEBMIN_ENABLED "true"}}
ROOT_PASSWORD: ${WEBMIN_ROOT_PASS} ROOT_PASSWORD: ${WEBMIN_ROOT_PASS}
{{- end}} {{- end}}
labels: labels:
{{- 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}}
ports: ports:
- "53:53/tcp" - "53:53/tcp"
- "53:53/udp" - "53:53/udp"
{{- if eq .Values.WEBMIN_ENABLED "true"}} {{- if eq .Values.WEBMIN_ENABLED "true"}}
- "${WEBMIN_PORT}:10000" - "${WEBMIN_PORT}:10000"
{{- end}} {{- end}}
restart: on-failure restart: on-failure
volumes: volumes:
- ${STORAGE_BASE_DIR}${DATA_DIR}:/data - ${STORAGE_BASE_DIR}${DATA_DIR}:/data