Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bostrt/icanhazip-go
https://github.com/bostrt/icanhazip-go
Last synced: 19 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/bostrt/icanhazip-go
- Owner: bostrt
- Created: 2018-07-03T14:12:30.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-07-06T21:57:19.000Z (over 6 years ago)
- Last Synced: 2024-11-01T10:08:39.636Z (2 months ago)
- Language: Go
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Run locally
```
# go build
# ./icanhazip-go
```# Run locally with docker
```
# docker build -t icanhazip-go .
# docker run -e EXTERNAL_WHATISMYIP_SERVICE_HOST=ipv4.icanhazip.com -e EXTERNAL_WHATISMYIP_SERVICE_PORT=80 --rm -p 8080:8080 icanhazip-go
```