curl -SOL https://github.com/Metaswitch/calico-docker/releases/download/v0.5.4/calicoctl
chmod +x calicoctl
sudo mv calicoctl /usr/local/bin/
curl -SOL https://experimental.docker.com/builds/Linux/x86_64/docker-latest
chmod +x docker-latest
sudo mv docker-latest /usr/local/bin/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run --name consul -d -h dev \ | |
-p 172.16.42.61:8300:8300 \ | |
-p 172.16.42.61:8301:8301 \ | |
-p 172.16.42.61:8301:8301/udp \ | |
-p 172.16.42.61:8302:8302 \ | |
-p 172.16.42.61:8302:8302/udp \ | |
-p 172.16.42.61:8400:8400 \ | |
-p 172.16.42.61:8500:8500 \ | |
-p 172.17.42.1:53:53 \ | |
-p 172.17.42.1:53:53/udp \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# open a http://fishshell.com/ and enter this: | |
# start docker daemons | |
for i in (seq 3) | |
set name "dind$i" | |
docker rm -f $name | |
docker run \ | |
--privileged \ | |
--name $name \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
systemctl stop docker.service | |
rm $(which docker) | |
rm /var/run/docker.pid | |
curl -fsSL https://github.com/armhf-docker-library/binaries/releases/download/1.10.1/docker-1.10.1 \ | |
-o /usr/bin/docker | |
chmod u+x /usr/bin/docker | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Ce fichier de configuration Logstash permet d'effectuer la copie d'index soit: | |
# - à l'intérieur d'un même cluster Elasticsearch | |
# - entre différents clusters Elasticsearch | |
# | |
# Utile dans le cas où nous voulons réindexer un index à l'aide de nouveaux mappings ou pour | |
# dupliquer la production vers un autre environnement de tests. | |
# | |
# Pour invoquer la commande: | |
# LS_HEAP_SIZE="2048m" /path/to/bin/logstash -w 2 -f copie-elasticsearch.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"template" : "ul-*", | |
"order" : 90, | |
"settings" : { | |
"index" : { | |
"refresh_interval" : "-1", | |
"number_of_replicas" : "0" | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Leaflet Map Panes Example</title> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<link rel="stylesheet" href="https://leafletjs-cdn.s3.amazonaws.com/content/leaflet/master/leaflet.css" /> | |
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "magebox", | |
"components": { | |
"app": { | |
"pod": "children", | |
"expose": [ | |
{ | |
"component": "app/nginx", | |
"target_port": "80", | |
"port": "80" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am webwurst on github. | |
* I am webwurst (https://keybase.io/webwurst) on keybase. | |
* I have a public key whose fingerprint is 67A2 1210 37C2 778A 93E3 1509 EE05 0DCC 3E7E EC71 | |
To claim this, I am signing this object: |