0

We have the following environment variables in our Kibana Docker image:

ENV SERVICE_NAME kibana6
ENV SERVICE_TAGS http

This will make it available at http://kibana6.env.ourdomain.com. I am trying to make it also available at http://kibana.env.ourdomain.com, so at a second url, without replacing the first.

The Docker command:

docker run -e SERVICE_5601_NAME=kibana2 -e SERVICE_5601_TAGS=http -p 5601:5601 -v /dev/log:/dev/log --name kibana kibana-image-url

Consul seems to ignore the second Consul service unfortunately.

Docker inspect kibana:

  "Env": [
      "SERVICE_5601_NAME=kibana2",
      "SERVICE_5601_TAGS=http",
      "PATH=/usr/share/kibana/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
      "ELASTIC_CONTAINER=true",
      "SERVICE_NAME=kibana6",
      "SERVICE_TAGS=http",
      "SERVICE_CHECK_HTTP=/",
      "SERVICE_CHECK_INTERVAL=30s",
      "SERVICE_CHECK_TIMEOUT=5s"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.