Skip to content

Commit

Permalink
added EXPOSE to Dockerfile for nginx proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan authored and ivan committed Jan 24, 2017
1 parent 8f5eab8 commit a7161d6
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions datanode/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,6 @@ VOLUME /hadoop/dfs/data
ADD run.sh /run.sh
RUN chmod a+x /run.sh

EXPOSE 50075

CMD ["/run.sh"]
2 changes: 2 additions & 0 deletions historyserver/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,6 @@ VOLUME /hadoop/yarn/timeline
ADD run.sh /run.sh
RUN chmod a+x /run.sh

EXPOSE 8188

CMD ["/run.sh"]
2 changes: 2 additions & 0 deletions namenode/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,6 @@ VOLUME /hadoop/dfs/name
ADD run.sh /run.sh
RUN chmod a+x /run.sh

EXPOSE 50070

CMD ["/run.sh"]
2 changes: 2 additions & 0 deletions nodemanager/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ MAINTAINER Ivan Ermilov <[email protected]>
ADD run.sh /run.sh
RUN chmod a+x /run.sh

EXPOSE 8042

CMD ["/run.sh"]
2 changes: 2 additions & 0 deletions resourcemanager/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ MAINTAINER Ivan Ermilov <[email protected]>
ADD run.sh /run.sh
RUN chmod a+x /run.sh

EXPOSE 8088

CMD ["/run.sh"]

0 comments on commit a7161d6

Please sign in to comment.