Skip to content

Instantly share code, notes, and snippets.

View cdelaitre's full-sized avatar

Christophe Delaitre cdelaitre

  • Paris, France
View GitHub Profile
@cdelaitre
cdelaitre / docker-compose-tick.yml
Last active March 22, 2021 20:01
Monitor Docker Swarm with the InfluxData TICK Stack
version: '3'
services:
# FRONT
chronograf:
# Full tag list: https://hub.docker.com/r/library/chronograf/tags/
image: chronograf
deploy:
replicas: 1
placement:
constraints:
@cdelaitre
cdelaitre / iptables
Created March 12, 2015 10:17
/etc/sysconfig/iptables filter and nat to allow ssh,jenkins and redirect 80 to 8080
# Firewall configuration for the MAPA Project
*filter
:INPUT DROP [0:0]
:FORWARD DROP [0:0]
:OUTPUT DROP [0:0]
:MAPA-INPUT - [0:0]
:MAPA-OUTPUT - [0:0]
-A INPUT -j MAPA-INPUT
-A OUTPUT -j MAPA-OUTPUT
-A MAPA-INPUT -i lo --source 127.0.0.1 --destination 127.0.0.1 -j ACCEPT