Skip to content

To track your WAN IP and notify you if it changes.

License

Notifications You must be signed in to change notification settings

lordvon01/IPTracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IPTracker

To track your WAN IP and notify you if it changes.

To build the docker container properly. The following folder/file structure is required.

Create a folder in etc/docker called "iptracker" image

Under "iptracker" folder create a folder called "app" image

Copy all the files into the root of "iptracker" folder change into the "app" folder and create a new directory called "templates" Copy the 2 .py files into the "app" directory image

Copy the index.html into the templates folder image

Edit the .env file if email notifications needs to be enabled. image

NOTE: If gmail will be used, I highly recommend using "App Passwords" from Google.

Once all the files are staged run the the following commands.

sudo docker build -t iptracker .

Once the container is built run the following command to bring up the container.

sudo docker run -d -p 5000:5000 --name iptracker --env-file smtpsettings.env iptracker

This should start the container and you can browse to http://IPADDRESS:5000 and access the web page.

image

About

To track your WAN IP and notify you if it changes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published