Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 632 Bytes

README.md

File metadata and controls

20 lines (12 loc) · 632 Bytes

myip

scratch-based single-binary container image which provides an HTTP endpoint which returns the user's own IP address in JSON format

It is meant to be run behind a load balancer that provides TLS.

The source code for this image is hosted on GitHub in the backplane/conex repo.

Usage

This is the output when the container is invoked with the -h argument:

usage: ./myip

HTTP endpoint reports the user's IP address back to the user

  -listen string
        local address and port to listen on (default "0.0.0.0:8000")