Get the public IP address of the client.
884
Get the public IP address of the client.
curl https://ipku.misterabdul.moe# Using go run
$ go run src/main.go -port=3000 -behind-proxy=false
# Using go build & binary run
$ CGO_ENABLED=0 go build -o bin/ipku src/*.go && ./bin/ipku -port=3000 -behind-proxy=false
# Using GNU Make
$ make && make run PORT=3000 BEHIND_PROXY=false
# Using docker run & docker build
$ docker build --no-cache -t misterabdul/ipku:latest . --build-arg="PORT=3000" \
&& docker run --rm -it --network host -e "BEHIND_PROXY=false" misterabdul/ipku:latest
# Using docker compose
$ cp .env.example .env && docker compose build --no-cache && docker compose up
Content type
Image
Digest
sha256:59b5bc5bf…
Size
7.3 MB
Last updated
over 2 years ago
docker pull misterabdul/ipku