Permalink
Browse files

Expose 8080 by default

Expose port 8080 to allow seamless linking with other containers (like nginx, haproxy, etc.)
  • Loading branch information...
1 parent 7153ffe commit 626c2f2acbe73c53727752a653cc058724076527 @omercnet omercnet committed on GitHub Jan 2, 2017
Showing with 2 additions and 0 deletions.
  1. +2 −0 Dockerfile
View
@@ -7,6 +7,8 @@ RUN cd /go/src/github.com/fiorix/freegeoip/cmd/freegeoip && go get && go install
ENTRYPOINT ["/go/bin/freegeoip"]
+EXPOSE 8080
+
# CMD instructions:
# Add "-use-x-forwarded-for" if your server is behind a reverse proxy
# Add "-public", "/var/www" to enable the web front-end

0 comments on commit 626c2f2

Please sign in to comment.