Skip to content

Instantly share code, notes, and snippets.

@kazu69
Last active November 26, 2015 07:48
Show Gist options
  • Save kazu69/84e383c0dab2e115352c to your computer and use it in GitHub Desktop.
Save kazu69/84e383c0dab2e115352c to your computer and use it in GitHub Desktop.
Elasticsearch + Fluentd + Kibana with Docker and Docker-compose see http://blog.kazu69.net/2015/11/13/create-efk-with-docker/
# setup docker-machine
docker-machine create -d virtualbox dev
eval "$(docker-machine env dev)"
# docker-compose up
docker-compose up -d
Creating dockerefk_elasticsearch_1
Creating dockerefk_fluentd_1
Creating dockerefk_node_app_1
Creating dockerefk_kibana_1
Creating dockerefk_nginx_1
# docker containers
docker-compose ps
Name Command State Ports
-----------------------------------------------------------------------------------------------------
dockerefk_elasticsearch_1 /docker-entrypoint.sh elas ... Up 0.0.0.0:9200->9200/tcp, 9300/tcp
dockerefk_fluentd_1 sh -c /tmp/entrypoint.sh Up 0.0.0.0:24224->24224/tcp
dockerefk_kibana_1 /docker-entrypoint.sh /tmp ... Up 0.0.0.0:5601->5601/tcp
dockerefk_nginx_1 sh -c /tmp/entrypoint.sh Up 443/tcp, 0.0.0.0:80->80/tcp
dockerefk_node_app_1 sh -c /tmp/entrypoint.sh Up 0.0.0.0:8080->8080/tcp
# open kibana
open http://localhot:5601
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment