Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 723 Bytes

README.md

File metadata and controls

31 lines (22 loc) · 723 Bytes

Docker Public IP Poll

CI/CD Status

Docker image that retrieves your public IP regularly and prints to stdout.

Configuration

Conigured via environment variables.

Variable Name Default Value
INTERVAL 1m
ENDPOINT https://checkip.amazonaws.com

Getting Started Examples

With standard configuration:

docker run ghcr.io/joedmck/docker-public-ip-poll:main

Changing interval:

docker run -e INTERVAL="5s" ghcr.io/joedmck/docker-public-ip-poll:main

Changing endpoint:

docker run -e ENDPOINT="https://api64.ipify.org/" ghcr.io/joedmck/docker-public-ip-poll:main