# ServerChecker Simple golang utility for checking if my server is up and running and accessible from the web and if it encounters any problems report is sent to specified discord channel. Uses cron. ## Deployment Simply pull the image from my repo using provided `docker-compose.yaml`. It needs configuration via dotfile, `env.template` provides sample configuration. ```bash DISCORD_TOKEN="" # discord token for bot DISCORD_CHANNEL_ID="" # discord channel id CHECK_DOMAINS="[\"google.com\"]" # domains to check CHECK_NOTIFY_EXPIRATION_DAYS=7 # days to notify before ssl cert expiration CHECK_IP="false" # whether to check if domain ip address is same as local machine one, for dynamic ipv4 users ```