Sign inSign up

uqwhsu/pokeslack

By uqwhsu

Updated about 10 years ago

PokeSlack CentOS 7 image that serves local PokeSlack Slack notification bot.

Image
0

10K+

uqwhsu/pokeslack repository overview

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

Tag summary

Content type

Image

Digest

Size

122.4 MB

Last updated

about 10 years ago

docker pull uqwhsu/pokeslack