Skip to content

Commit

Permalink
Add dev docker overlay to skip logstash related services
Browse files Browse the repository at this point in the history
Prevents Eleasticsearch, Logstash, and Kibana images from running in local development mode.

Approach taken from:
docker/compose#3729 (comment)

[#166832517]
https://www.pivotaltracker.com/story/show/166832517
  • Loading branch information
knowuh committed Jun 20, 2019
1 parent 3a6b39a commit c7962ef
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docker/dev/docker-compose-no-logstash.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Prevents Eleasticsearch, Logstash, and Kibana images from running in local
# Development mode.

# To use this you must edit your .env file and change `COMPOSE_FILE` var
# to include `docker/dev/docker-compose-no-logstash.yml`

# We Stole this workaround from from a related github issue:
# https://github.com/docker/compose/issues/3729#issuecomment-438077575

version: '3'
services:
elasticsearch:
image: hello-world
logstash:
image: hello-world
kibana:
image: hello-world

0 comments on commit c7962ef

Please sign in to comment.