/docker-public-ip-poll

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

Primary LanguageGoGNU Affero General Public License v3.0AGPL-3.0

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