Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hilli/myip-microservice

Return the ip address of the requester
https://github.com/hilli/myip-microservice

Last synced: about 13 hours ago
JSON representation

Return the ip address of the requester

Awesome Lists containing this project

README

        

# myip-microservice

[![docker-build](https://github.com/hilli/myip-microservice/actions/workflows/dockerize.yaml/badge.svg)](https://github.com/hilli/myip-microservice/actions/workflows/dockerize.yaml)

Simple little service to return the best know IP address of the requester. It will return a json object if `application/json` is requested by the client, otherwise only the IP is returned as `text/plain`.

## Running

### Docker command

```
docker run -i -t --rm -p 80:8080 hilli/myip-microservice
```