Skip to content

Docker image with simple script to determine external IP address and push it to pushover.

License

Notifications You must be signed in to change notification settings

seplu/docker-check-ip-pushover-arm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker image to determine external IP and push it to Pushover for ARM

This Docker image is based on the minimal Alpine Linux with simple script to determine external IP address and push it to pushover. Script will push message only when IP address was changed.

Environment Variables:

INTERVAL - default value is 1800 [ in seconds ]
PUSHOVER_PRIORITY - default value is 1
PUSHOVER_TOKEN - token for pushover
PUSHOVER_USER - pushover username

Create an instance

docker run -it --name check-ip -v /opt/logs:/opt/logs -e INTERVAL=1800 -e PUSHOVER_PRIORITY=1 -e PUSHOVER_TOKEN=1234567890 -e PUSHOVER_USER=1234567890 sepludowski/docker-check-ip-pushover-arm

Docker compose example

check-ip:
  image: sepludowski/docker-check-ip-pushover-arm
  environment:
    INTERVAL: 1800
    PUSHOVER_PRIORITY: 1
    PUSHOVER_TOKEN: 1234567890
    PUSHOVER_USER: 1234567890
  volumes:
    - /opt/logs:/opt/logs
  restart: always

Links

Alpine Linux
Pushover

About

Docker image with simple script to determine external IP address and push it to pushover.

Resources

License

Stars

Watchers

Forks

Packages

No packages published