Public | Automated Build

Last pushed: a year ago
Short Description
PokeSlack CentOS 7 image that serves local PokeSlack Slack notification bot.
Full Description

PokeSlack CentOS 7 Docker image

Introduction

This is used to run a local timwah/pokeslack notification bot because it can no longer be run on Heroku. See Unexpected HTTP server response - needs 200 got 403 . Additional included features:

  • centos:7 base image
  • timezone environment setting
  • auto restart bot after 15 minutes

References:

Usage notes

Edit the .env configuration file, then update the systemd docker-pokeslack.service script to mount the configuration file as volume as well as define the timezone settting, or run it all from command line.

Variables

  • LOCALTIMEZONE : Time zone name used in value of TZ environment variable (Default: UTC)

Volumes

  • /opt

Complete Example

docker build -t uqwhsu/pokeslack --rm=true --force-rm=true .

docker run -h pokeslack \
  -e LOCALTIMEZONE=Australia/Brisbane \
  -v ~/dev/docker/pokeslack/data/opt/.env:/opt/.env \
  uqwhsu/pokeslack

Check your #pokealert Slack channel after starting the container.


Additional Information

Please see: PokeSlack README

Docker Pull Command
Owner
uqwhsu
Source Repository