Skip to content

Commit

Permalink
Added simple use from docker hub
Browse files Browse the repository at this point in the history
  • Loading branch information
leech001 committed Sep 3, 2022
1 parent ce1f594 commit 52fdcaa
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@

Go (golang) application for checking and monitoring nodes through HTTP and HTTPS requests to nodes with a response code check other than '200'.

## Simple use
1. Copy `example` folder
2. Change `config.yaml`
3. Run `sudo docker-compose up -d`

## Install and config
Download the required repository;

Expand Down
16 changes: 16 additions & 0 deletions example/conf/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
app:
update: 60

telegram:
token: 244516775:AAGZUrt9eQjhGSsFFpbjyNA9su6gQU-Qs
group: -6596563379

http:
repeat: 5
timeout: 30
delay: 1
sites:
- url: https://yandex.ru
elements:
- YandexZen
- url: https://google.com
7 changes: 7 additions & 0 deletions example/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: "3.9"
services:
app:
image: leech001/telegram-site-monitor
restart: always
volumes:
- ./conf:/app/conf:ro

0 comments on commit 52fdcaa

Please sign in to comment.