Created
October 22, 2017 08:14
-
-
Save ChrisChinchilla/661e7a5fe80961b65e6a928870dee48f to your computer and use it in GitHub Desktop.
Docker Compose file for ELK
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
version: '2.1' | |
services: | |
elasticsearch: | |
image: docker.elastic.co/elasticsearch/elasticsearch:5.6.0 | |
volumes: | |
- /Users/chrisward/Workspace/esdata:/usr/share/elasticsearch/data | |
ports: | |
- 9200:9200 | |
- 9300:9300 | |
networks: | |
- es | |
kibana: | |
image: docker.elastic.co/kibana/kibana:5.6.0 | |
ports: | |
- 5601:5601 | |
environment: | |
ELASTICSEARCH_URL: "http://elasticsearch:9200" | |
networks: | |
- es | |
depends_on: | |
- elasticsearch | |
networks: | |
es: | |
driver: bridge |
vergissberlin
commented
Nov 29, 2017
•
- "driver" must be indented
- And why not use relative paths for directory mountings?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment