Skip to content

Commit

Permalink
Add environment variables for service discovery
Browse files Browse the repository at this point in the history
  • Loading branch information
Elliott Fouts committed Feb 1, 2015
1 parent c020aec commit 53385cb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,6 @@ CMD ["/elasticsearch/bin/elasticsearch"]
# - 9300: transport
EXPOSE 9200
EXPOSE 9300

ENV SERVICE_9200 http
ENV SERVICE_9300 transport

0 comments on commit 53385cb

Please sign in to comment.