Sign inSign up

hearstat/alpine-dashing

By hearstat

Updated over 10 years ago

Our dashing image

Image
0

2.5K

hearstat/alpine-dashing repository overview

Dashing

Run Dashing in a Docker container.

Link: hearstat/alpine-dashing

Dockerfiles

Two versions are current supported.

Supported Widgets

Widgets that support Font Awesome 4.5 config and Environment being set via the dashing.conf mentioned below.

Run

docker run -d -p 8080:3030 hearstat/alpine-dashing

And point your browser to http://localhost:8080/.

Configuration

Dashboards

To provide a custom dashboard, use container volume /dashing/dashboards:

docker run -v=/path/to/dashboards:/dashing/dashboards -d -p 8080:3030 hearstat/alpine-dashing

(Don't forget to also provide the layout.erb)

Jobs

To provide custom jobs, use container volume /dashing/jobs:

docker run -v=/my/cool/job:/dashing/jobs -d -p 8080:3030 hearstat/alpine-dashing

Widgets

To install custom widgets supply the gist IDs via yaml file:

widgets.yml

- 47b71cb4920fb6df1a45 #Docker Hub Widget
- 7a346fa63e2aa5b56588 #Github News Feed
docker run -v=/path/to/widgets.yml:/dashing/widgets.yml -d -p 8080:3030 hearstat/alpine-dashing

Also you can use local custom widgets

docker run -v=/my/cool/widgets:/widgets -d -p 8080:3030 hearstat/alpine-dashing
Gems

To install gems, just mount a Gemfile. Though it's recommended this is you baseline gems

(you can remove the newrelic_api if you choose to provide your own widgets.yml without newrelic)

Gemfile

source 'https://rubygems.org'

gem 'dashing'
gem 'faraday'
gem 'nokogiri'
gem 'mechanize'
docker run -d -v=/path/to/Gemfile:/dashing/Gemfile -p 8080:3030 hearstat/alpine-dashing
Public (favicon, 404)

To provide custom 404 and favicon, use container volume /dashing/public.

Configuration File

The configuration file config.ru is available on volume /dashing/config.

Edit this file to change your API key, to add authentication and more.

The configuration file dashing.conf is also available in the same location and is sourced at start up.

Edit/Add to this file for environment variables as needed for widget config.

Tag summary

Content type

Image

Digest

Size

100 MB

Last updated

over 10 years ago

docker pull hearstat/alpine-dashing