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 2, 2015
1 parent c020aec commit edc7676
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_NAME elasticsearch-http
ENV SERVICE_9300_NAME elasticsearch-transport

0 comments on commit edc7676

Please sign in to comment.