Allow custom kopf and kibana public ports (#178)

* Allow custom kopf and kibana public ports

* kopf public port is now required

* kibana public port is now required
This commit is contained in:
Steve Woodruff 2016-06-13 23:17:58 -05:00 committed by Bill Maxwell
parent b6af78417a
commit 3ccd9033cc
4 changed files with 15 additions and 2 deletions

View File

@ -98,7 +98,7 @@ elasticsearch-base-clients:
kopf:
image: rancher/kopf:v0.4.0
ports:
- "80:80"
- "${kopf_port}:80"
environment:
KOPF_SERVER_NAME: 'es.dev'
KOPF_ES_SERVERS: 'es-clients:9200'

View File

@ -9,6 +9,12 @@
type: "string"
required: true
default: "es"
- variable: "kopf_port"
label: "Public Port"
description: "Unique public port for kopf"
type: "int"
default: 80
required: true
elasticsearch-masters:
metadata:
elasticsearch:

View File

@ -1,6 +1,6 @@
kibana-vip:
ports:
- 80:80
- "${public_port}:80"
restart: always
tty: true
image: rancher/load-balancer-service

View File

@ -9,6 +9,13 @@
type: "service"
required: true
default: "es/elasticsearch-clients"
- variable: "public_port"
label: "Public Port"
description: "Unique public port for Kibana"
type: "int"
default: 80
required: true
nginx-proxy:
metadata:
nginx: