Skip to content

Monitors IP address changes to alert you via email if it has changed.

License

Notifications You must be signed in to change notification settings

MartinFournier/ipalert

Repository files navigation

ipalert

ipalert is a small container that'll test your IP address using https://ipinfo.io/ip. If it notices it has changed since its last run, it'll email you to alert of the modification.

Getting Started

Prepare the secrets and edit the files accordingly

$ mkdir -p data
$ cp ssmtp.conf.example ssmtp.conf
$ cp .env.example .env

Once the files have been edited, you can run the container

$ docker compose up

Setting up a cron job

You could set up a cron job that would run the container hourly like so

0 * * * * cd ~/services/ipalert && docker-compose run --rm ipalert

About

Monitors IP address changes to alert you via email if it has changed.

Topics

Resources

License

Stars

Watchers

Forks