Skip to content

Instantly share code, notes, and snippets.

View vegasbrianc's full-sized avatar
🚦
Push to Prod

Brian Christner vegasbrianc

🚦
Push to Prod
View GitHub Profile
@vegasbrianc
vegasbrianc / docker-compose.yml
Created July 8, 2019 19:58
Enable Metrics for Traefik in Docker compose
version: '3.7'
services:
traefik:
image: traefik:v1.7-alpine
command:
- "--logLevel=DEBUG"
- "--api"
- "--metrics"
- "--metrics.prometheus.buckets=0.1,0.3,1.2,5.0"

Keybase proof

I hereby claim:

  • I am vegasbrianc on github.
  • I am brian_56kcloud (https://keybase.io/brian_56kcloud) on keybase.
  • I have a public key ASBjavugW6vzG269wrfxMKDGUfR0kXLW2_HL5DCKp8aOEgo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am vegasbrianc on github.
  • I am brian_56kcloud (https://keybase.io/brian_56kcloud) on keybase.
  • I have a public key ASBcDX0VahOdqvOFptRFP4QG8gBC5LNBoy29L7pH9qWyUAo

To claim this, I am signing this object:

@vegasbrianc
vegasbrianc / dashboard.yml
Created March 7, 2018 11:15
Grafana provisioning of Dashboard
apiVersion: 1
providers:
- name: 'Prometheus'
orgId: 1
folder: ''
type: file
disableDeletion: false
editable: true
options:
@vegasbrianc
vegasbrianc / datasource.yml
Last active April 23, 2020 19:44
Grafana provisioning of Prometheus datasource
# config file version
apiVersion: 1
# list of datasources that should be deleted from the database
deleteDatasources:
- name: Prometheus
orgId: 1
# list of datasources to insert/update depending
# whats available in the database
@vegasbrianc
vegasbrianc / docker-compose.yml
Last active March 7, 2018 09:20
Grafana provisioning system
grafana:
image: grafana/grafana
depends_on:
- prometheus
ports:
- 3000:3000
volumes:
- grafana_data:/var/lib/grafana
- ./grafana/provisioning/:/etc/grafana/provisioning/
env_file:
/**
* League theme for reveal.js.
*
* This was the default theme pre-3.0.0.
*
* Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
*/
@import url(../../lib/font/league-gothic/league-gothic.css);
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
/*********************************************
@vegasbrianc
vegasbrianc / gist-reveal.it-demo.md
Last active August 23, 2016 12:34
Docker-Meetup10-Demo

Docker Swarm 1.12 Demo

@vegasbrianc
vegasbrianc / gist-reveal.it-slides.html
Created August 23, 2016 09:24 — forked from ryanj/gist-reveal.it-slides.html
Use Docker, gist.github.com, and Reveal.js to produce themed slideshow presentations for conferences and / or hackathons
<section data-background-transition='zoom' data-transition='concave' data-background='http://ryanjarvinen.com/presentations/shared/img/broadcast_reveal_dark.png' data-state='blackout'>
<h2>Gist-Powered</h2>
<h1>Reveal.js</h1>
<h2>Slideshow Presentations</h2>
<p class='fragment'><small><a class='fragment' href='http://github.com/ryanj/gist-reveal'>github.com/ryanj/gist-reveal</a>
<br/> <a class='fragment' href='https://registry.hub.docker.com/u/ryanj/gist-reveal/'>registry.hub.docker.com/u/ryanj/gist-reveal</a></small></p>
</section>
<section data-background-transition='zoom' data-transition='linear'>
<h2>Try it out!</h2>
<p>Create your own deck by forking a copy of <a href='https://gist.github.com/ryanj/af84d40e58c5c2a908dd'>this github gist</a>: <br /><a href='https://gist.github.com/ryanj/af84d40e58c5c2a908dd'>https://gist.github.com/ryanj/af84d40e58c5c2a908dd</a></p>
@vegasbrianc
vegasbrianc / docker-prometheus.json
Created July 14, 2016 10:59
Docker Prometheus Dashboard
{
"id": 3,
"title": "Docker Monitoring with Prometheus",
"description": "Docker Monitoring Template",
"tags": [
"docker"
],
"style": "dark",
"timezone": "browser",
"editable": true,