Subindo cluster elastic com autenticação e controle de acesso de usuários
# curl -fsSL https://get.docker.com | sh
# curl -L "https://github.com/docker/compose/releases/download/1.24.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
# chmod +x /usr/local/bin/docker-compose
# ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
# echo vm.max_map_count=262144 >> /etc/sysctl.conf && sysctl -p
O arquivo .env contém a senha do usuário elastic (para logar no kibana) e nome do projeto compose.
# docker-compose -f create-certs.yml run --rm create_certs
# docker-compose up -d