Sign inSign up

juergenpointinger/status-dashboard

By juergenpointinger

•Updated over 5 years ago

Image
0

572

juergenpointinger/status-dashboard repository overview

⁠Status (GitLab) Dashboard

Docker Cloud Build Status Docker Image Version (latest semver) Docker Pulls Docker Image Size (latest semver) GitHub Twitter Follow

The dashboard is intended to simplify the presentation of the evolution of products and projects for different stakeholders.

It uses GitLab APIs and is based on Python with Plotly Dash.

Tested with:

  • Python 3.8
  • Dash 1.12.0
  • GitLab 13+

⁠Routes

RouteDescriptionImage
/ or /dashboardStatus DashboardPreview⁠
/monitorBuild MonitorPreview⁠

⁠Environment

KeyDescriptionDefault
GITLAB_TOKENGitLab token will be used whenever the API is invoked
GITLAB_GROUP_IDGitLab group id
GITLAB_PROJECT_IDSGitLab project id list (Json format)see .env.example for details
FLASK_ENVSetting FLASK_ENV to development will enable debug modeproduction
DEBUGDebug mode (optional)false
LOGLEVELLogging level (optional)INFO
LOGFORMATLogging format output (optional)%(asctime)s - %(levelname)s - %(message)s
APP_NAMEDashboard application name (optional)Status Dashboard
APP_HOSTDashboard host ip adress (optional)0.0.0.0 (for Docker environment)
APP_PORTDashboard port (optional)5000
REDIS_URLRedis urlredis://localhost:6379

Rename your .env.example to .env and add the required changes.

⁠Run locally

$ pip install -r requirements.txt
$ python3 index.py

⁠Run via Docker

$ docker run --rm --name redis -p 6379:6379 redis:6.0-alpine
$ docker run --rm --env-file .env --name status-dashboard -p 5000:5000 juergenpointinger/status-dashboard:latest

⁠Build via Docker

$ docker-compose up -d
$ docker build . -t juergenpointinger/status-dashboard:latest
$ docker run --rm --name status-dashboard -p 5000:5000 juergenpointinger/status-dashboard:latest

Tag summary

Content type

Image

Digest

Size

169 MB

Last updated

over 5 years ago

docker pull juergenpointinger/status-dashboard