Skip to content

Instantly share code, notes, and snippets.

@ror6ax
Created February 13, 2017 15:27
Show Gist options
  • Save ror6ax/b4bd21f3fe1b872815915c24e9d2a9fe to your computer and use it in GitHub Desktop.
Save ror6ax/b4bd21f3fe1b872815915c24e9d2a9fe to your computer and use it in GitHub Desktop.
# Introduction
# This is an example properties file to run a dockerized version of kibana.
# All of the properties in the mesos-starter project are overridable.
# Required application name for Spring
spring.application.name=kibana-docker
# Mesos framework name
mesos.framework.name=kibana-docker
# Mesos settings
mesos.master=zk://${mesos.zookeeper.server}/mesos
# mesos.zookeeper.server=$MASTER:2181 # Usually injected
# ES location
# elasticsearch.http=http://$SLAVE0:9200 # Usually injected
# Task resources
mesos.resources.cpus=0.5
mesos.resources.mem=256
mesos.resources.count=3
mesos.resources.ports.UI_5601.host=ANY
mesos.resources.ports.UI_5601.container=5601
# Docker image
mesos.docker.image=kibana:latest
mesos.docker.network=BRIDGE
# Command to run
mesos.uri[0]=https://gist.githubusercontent.com/philwinder/592a1ab2db40431c1b08/raw/kibana.yml
kibana --elasticsearch ${elasticsearch.http}
# Log level
logging.level.com.containersolutions.mesos=DEBUG
# Task HealthChecks (Will kill executors that don't respond) (Note: HealthChecks do not work in Mesos 0.25.0, 0.24.0 or 0.23.0)
# See https://issues.apache.org/jira/browse/MESOS-3738 and https://issues.apache.org/jira/browse/MESOS-3136
# And HTTP healthchecks still don't work: https://issues.apache.org/jira/browse/MESOS-2533
mesos.healthCheck.command=wget -q localhost:5601
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment