Sign inSign up

zimmertr/statsbot

By zimmertr

Updated about 8 years ago

Sidekick container used to generate container data for my personal website.

Image
1

1.5K

zimmertr/statsbot repository overview

Statsbot

Code Repository: https://github.com/zimmertr/Statsbot DOCKERFILE: https://github.com/zimmertr/Statsbot/blob/master/Dockerfile

Summary

Sidekick container used to generate container data for my personal website. Uses bash and the official docker container.

Base Image: Docker

Deployment Instructions:

Use this container instead, this one will be pulled automatically when necessary: https://hub.docker.com/r/zimmertr/personal-website/

How does it work?

  1. Clones latest Docker image.
  2. Deployment accepts two volumes that bind to /var/run/docker.sock and /Apps/Statsbot/stats.txt.
  3. Clones down statsbot and installs it.
  4. Creates crontab and find_stats.sh scripts.
  5. Populates find_stats.sh script with commands used to grab docker data and ultimately populate stats.txt file.
  6. Populates crontab file with call to find_stats.sh every 5 minutes.
  7. Spawns crond in foreground.

Tag summary

Content type

Image

Digest

Size

45.7 MB

Last updated

about 8 years ago

docker pull zimmertr/statsbot