Skip to content

Instantly share code, notes, and snippets.

View nicosingh's full-sized avatar

Nico Singh nicosingh

View GitHub Profile
@nicosingh
nicosingh / .gitignore
Last active September 27, 2021 06:25
RabbitMQ federation sample using Vagrant and Docker
.vagrant/
roles/
*.retry
*.old
@nicosingh
nicosingh / README.md
Last active December 4, 2018 21:42
workaround to run Goad using Docker in your macos

Instructions:

$ vagrant up
$ vagrant ssh goad-node
vagrant@vagrant:~$ ./goad -n 0 -c 10 -t 60 --run-docker https://www.example.com
@nicosingh
nicosingh / bootstrap.yml
Last active January 4, 2022 16:24
Install Docker Ubuntu 18 server on EC2
#!/bin/bash
apt-get update -y
apt-get install \
apt-transport-https \
ca-certificates \
curl \
software-properties-common -y
@nicosingh
nicosingh / .gitignore
Last active April 3, 2019 17:26
Docker in Vagrant
.vagrant/
tmp/
@nicosingh
nicosingh / README.md
Last active October 18, 2018 14:02
Custom prometheus metrics 101
@nicosingh
nicosingh / docker-compose.yml
Created November 27, 2018 20:47
Docker swarm autoscaling using Orbiter PoC
version: "3.4"
services:
web:
image: nginx
ports:
- 80:80
deploy:
labels:
- "orbiter=true"
@nicosingh
nicosingh / docker-compose.yml
Last active March 16, 2021 07:35
Trœfik load balancing sample using docker
version: "3.4"
services:
proxy:
image: traefik:latest
restart: always
ports:
- 80:80
- 443:443
- 15671:8080
volumes:
@nicosingh
nicosingh / get_blink_video.py
Created December 14, 2018 18:44
Get Blink Camera last video using blinkpy
@nicosingh
nicosingh / alert-manager.md
Last active February 27, 2024 23:46
A small and local configuration for Prometheus + AlertManager + Slack notifications + Unsee

TL;DR

Clone this repo:

git clone https://gist.github.com/08be6d6e7605a43fe52d1f201c2b47d8.git
cd 08be6d6e7605a43fe52d1f201c2b47d8

Start the docker stack:

@nicosingh
nicosingh / .gitignore
Last active February 7, 2019 20:55
Elasticsearch cluster PoC
volumes/