a simple service which fetches your public IP
1.6K
If your ISP has alloted you dynamic IP and you want to know how often it changes, and it what range, you are at the right place.
dyn-ip-monitor is a very simple service which fetches you public IP and stores it in mongo database.
It stores the entries in dynip database and the collection is ip_log.
MONGODB_URI - connection string to the databaseINTERVAL - sleep time between executionTZ - without this, it will fallback to UTC in your db entriesNote: This app is in alpha, and right now I'm married to my setup. I'm running docker in swarm mode, and I have a central mongodb server. Contributions are welcomed, but right now I'll focus on MVP.
Right now, I pass following spec in portainer to create a stack:
version: '3.8'
services:
server:
image: sntshk/dyn-ip-monitor
environment:
- INTERVAL=900 # 15 mins
- TZ=Asia/Kolkata
Content type
Image
Digest
sha256:efc62a7b6…
Size
375.9 MB
Last updated
about 2 years ago
docker pull sntshk/dyn-ip-monitor