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 e543125 commit e1cde39
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 @@ -10,4 +10,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 @@ -10,4 +10,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 @@ -10,4 +10,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 @@ -6,4 +6,6 @@ HEALTHCHECK CMD curl -f http://localhost:8042/ || exit 1
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 @@ -6,4 +6,6 @@ HEALTHCHECK CMD curl -f http://localhost:8088/ || exit 1
ADD run.sh /run.sh
RUN chmod a+x /run.sh

EXPOSE 8088

CMD ["/run.sh"]

0 comments on commit e1cde39

Please sign in to comment.