No Description

Nikola Kotur cea2603c81 Fixed list of services that are down 2 years ago
.gitignore 118a8722df Initial code 3 years ago
Dockerfile 118a8722df Initial code 3 years ago
README.md 5f461e1938 Update docs 2 years ago
main.py cea2603c81 Fixed list of services that are down 2 years ago
requirements.txt 879467a763 Removed hardcoded Statping endpoint 2 years ago

README.md

Statping in Homer

From: https://whyitno.work/i-can-python-a-little/

Build with:

docker build -t statping_homer:latest .

Example Docker compose file (usable with Portainer too):

version: "2"
services:
  homer:
    image: statping_homer:latest
    environment:
      - STATPING_ENDPOINT=http://192.168.88.50:8085/ # Use trailing slash
    ports:
      - 8099:8099
    restart: unless-stopped

Push to Docker repo

Build certain version, tag it as latest, and push to private Docker registry:

docker build -t statping_homer:2.0 .
docker tag statping_homer:2.0 192.168.88.50:5000/statping_homer:2.0
docker tag statping_homer:2.0 192.168.88.50:5000/statping_homer:latest
docker push 192.168.88.50:5000/statping_homer:2.0
docker push 192.168.88.50:5000/statping_homer:latest