Skip to content
Steve edited this page Jul 12, 2018 · 18 revisions

#Installation

Clone the upcheck repository

Build the Container docker build -t upcheck .

Make a volume for upcheck to store the database:

docker volume create upcheckdb

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
-e UPCHECK_SPEEDTEST_RESULTS=http://myhomeURL.example/upcheck-speedtest.xml
-e UPCHECK_TARGET_TWITTER_ACCOUNT=@blahblahblah @blahblahblah2
-e UPCHECK_HASHTAGS=#somehashtag #someotherhastag 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.

Clone this wiki locally