Skip to content

Commit bc7b7f1

Browse files
author
Elliott Fouts
committed
Add environment variables for service discovery
1 parent c020aec commit bc7b7f1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,6 @@ CMD ["/elasticsearch/bin/elasticsearch"]
3434
# - 9300: transport
3535
EXPOSE 9200
3636
EXPOSE 9300
37+
38+
ENV SERVICE_9200_NAME http
39+
ENV SERVICE_9300_NAME transport

0 commit comments

Comments
 (0)