Skip to content

Instantly share code, notes, and snippets.

View ziouf's full-sized avatar

Cyril MARIN ziouf

  • MiiMOSA
  • France
View GitHub Profile
@ziouf
ziouf / _README.md
Last active April 24, 2018 09:22
Traefik reverse proxy rewrite rules for jFrog Artifactory Docker registry

Artifactory proxied by Traefik

About

Due to lake of documentation on that topic this is a Gist to configure reverse proxy properly.

Traefik is not officialy supported by jFrog as reverse proxy for Artifactory.

Keep in mind that the minimum licence level jFrog Artifactory Pro to enable Docker registry feature.

@ziouf
ziouf / _README.md
Last active June 5, 2018 09:31
Docker-compose Selenium grid file

Docker-compose : Selenium Grid stack

Why this GIST ?

Selenium official documentation dont specify that it's mandatory to have a window manager in node container to use webDriver.manage().window().maximize();. I've found that debug node images are embeding fluxbox window manager unlike standard node images.

Run

@ziouf
ziouf / _README.md
Last active May 30, 2018 14:35
Grafana notification to Yammer gateway

Notification gateway from Grafana to Yammer

Why this GIST ?

Yammer notifications are not implemented in Grafana, by default. So I decided to develop a little gateway that publish Grafana alarm webhooks to Yammer thread.

Configuration

Grafana

@ziouf
ziouf / _README.md
Last active June 5, 2018 09:31
Workarround to allow downloaded file sharing between jenkins-slave and selenium containers

Docker-compose : Jenkins + Selenium grid

Why ?

When using Jenkins and Selenium grid on a Docker stack components are isolated. So it could be quite hard to find and read downloaded file by a test case.

The workarround is to override selenium images to set user id equals to jenkins user id and share /dev/shm mount point between containers.

Usage

@ziouf
ziouf / _README.md
Last active July 22, 2018 07:47
Secretin Docker stack (compile + run)

Secret-in.me

Why this gist

Official seret-in.me project is missing a simple way to build and deploy the full stack. This Gist is just a pack of dockerfiles to give a response to the issue.

How to build and run project

# Pull pre-built images
@ziouf
ziouf / _README.md
Last active March 13, 2019 19:26
Home monitoring

# Command line

PHONE_ID=... python main.py