jakobhviid / Dashboard-Server-Docker

0 stars 0 forks source link

About

This image is a part of the CFEI kafka / zookeeper stack. It sends real time docker information to Docker-Dashboard-Interface

When the image is started, it sends different sorts of information:

The image will send docker information atleast every 15 minutes, however it will also send if something important happens, e.g. a container stopping, unhealthy or if a container uses more ressources then the allowed threshold (defined through enviorment variables).

How to use

This docker-compose file shows the deployment of the dashboard-server container.

version: "3"

services:
  server:
    image: cfei/dashboard-server
    container_name: dashboard-server
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    environment:
      DASHBOARDS_SERVER_NAME: CfeiServer1

Configuration

Required environment variables

Optional environment variables

Tolerances When the image collects docker stats data it will only send data if these tolerances are exceeded.

Kerberos example

version: "3"

services:
  server:
    image: cfei/dashboard-server
    container_name: dashboard-server
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    environment:
      DASHBOARDS_SERVER_NAME: CfeiServer1
      DASHBOARDS_KAFKA_URL: 134.209.92.166:9093
      DASHBOARDS_KERBEROS_PUBLIC_URL: 134.209.92.166
      DASHBOARDS_KERBEROS_REALM: KAFKA.SECURE
      DASHBOARDS_KERBEROS_API_URL: http://134.209.92.166:6000/get-keytab
      DASHBOARDS_KERBEROS_API_SERVICE_USERNAME: dashboardserver
      DASHBOARDS_KERBEROS_API_SERVICE_PASSWORD: dashboardServerPassword