Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
fiorix committed Nov 21, 2015
1 parent 55971d8 commit 8788f4a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Dockerfile
Expand Up @@ -12,7 +12,9 @@ RUN cp -r public /var/www
ENTRYPOINT ["/go/bin/freegeoip"]

# CMD instructions:
# Add "-use-x-forwarded-for" if your image is proxied by an HTTP load balancer
# Add "-public", "/var/www" to enable the web application
# Add "-use-x-forwarded-for" if your server is behind a reverse proxy
# Add "-public", "/var/www" to enable the web front-end
# Add "-internal-server", "8888" to enable the pprof+metrics server
#
# Full example: CMD ["-use-x-forwarded-for", "-public", "/var/www"]
# Example:
# CMD ["-use-x-forwarded-for", "-public", "/var/www", "-internal-server", "8888"]

0 comments on commit 8788f4a

Please sign in to comment.