Skip to content

This script will check once every 15 min if the WAN IP address changes, in which case it will send a notification to an existing telegram bot chat with the option to update a deSEC domain with the new IP address.

License

Notifications You must be signed in to change notification settings

ghighi3f/update-deSEC-ip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Update deSEC IP

Python script in docker container that checks once every 15 min if the WAN IP address changes, in which case it will send a notification to an existing telegram bot chat with the option to update a deSEC domain with the new IP address.

Environment Variables

To run this project, you will need to add the following environment variables to your .env file in the root folder

TELEGRAM_TOKEN

TELEGRAM_CHAT_ID

DESEC_TOKEN

DESEC_DOMAIN

Run

Made to work with docker compose

  docker-compose up -d

Documentation

How to get Telegram Bot Token - Documentation

How to get Telegram Chat ID - Stack Overflow answer

About

This script will check once every 15 min if the WAN IP address changes, in which case it will send a notification to an existing telegram bot chat with the option to update a deSEC domain with the new IP address.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published