-
Notifications
You must be signed in to change notification settings - Fork 0
Home
#Installation
Clone the upcheck repository
Build the Container
docker build -t upcheck .
Make a volume for upcheck to store the database:
docker volume create upcheck
Launch the Container
docker run -d --name="upcheck" \ -e UPCHECK_URLTOCHECK=http://myhomeURL.example \ -e UPCHECK_TWITTER_CONSUMER_KEY=MyTwitterConsumerKey \ -e UPCHECK_TWITTER_CONSUMER_SECRET=MyTwitterConsumerSecret \ -e UPCHECK_TWITTER_ACCESS_TOKEN=MyTwitterAccessToken \ -e UPCHECK_TWITTER_ACCESS_TOKEN_SECRET=MyTwitterAccessTokenSecret \ -e UPCHECK_DB_LOCATION=/upcheckdb/upcheck.db
upcheck
Docker logs will show you when it loses a connection to the target URL. You will need to customize the python if you want to change the message it delivers. In a future update I will change that to be more modular. Maybe throw in a config file or something.