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
{ | |
"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
# | |
# 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
# Fake a fuse install | |
# from https://gist.github.com/henrik-muehe/6155333/e35981031bad80ada4cbf1e4a48ba7f86a019db4 | |
# see https://github.com/dotcloud/docker/issues/2191 | |
run apt-get install libfuse2 | |
run cd /tmp &&\ | |
apt-get download fuse &&\ | |
dpkg-deb -x fuse_* . &&\ | |
dpkg-deb -e fuse_* &&\ | |
rm fuse_*.deb &&\ | |
echo -en '#!/bin/bash\nexit 0\n' > DEBIAN/postinst &&\ |