more apps

This commit is contained in:
Tomasz Borychowski
2020-10-25 20:24:03 +00:00
parent f4871bbeae
commit 6a2e89fdcc
10 changed files with 422 additions and 9 deletions

49
apps/monitors/cachet.md Normal file
View File

@@ -0,0 +1,49 @@
# Cachet
- focuses on posting information rather than pinging services
- looks like setting status is manual
<br>
- [Github repo](https://github.com/CachetHQ/Docker)
## docker-compose.yml
```yml
version: '3.3'
services:
cachet:
image: cachethq/docker:latest
container_name: cachet
restart: unless-stopped
links:
- postgres
ports:
- 3123:8000
environment:
- DB_DRIVER=pgsql
- DB_HOST=postgres
- DB_DATABASE=postgres
- DB_USERNAME=postgres
- DB_PASSWORD=postgres
- APP_KEY=base64:tixFLbMoKffHKfUO1uEK9cGdpJxHYP7uCAp0lwwzEtM=
postgres:
image: postgres:9.5
container_name: cachet-db
restart: unless-stopped
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
volumes:
- ./data:/var/lib/postgresql/data
```
## Tips & Tricks
### Generate APP_KEY
Once the container is running, execute the following command:
```sh
docker exec -i ID_OF_THE_CONTAINER php artisan key:generate
```
The full key should include `base64`, e.g.: `base64:YOUR_UNIQUE_KEY`.

12
apps/monitors/dockprom.md Normal file
View File

@@ -0,0 +1,12 @@
# Dockprom
A monitoring solution for Docker hosts and containers with Prometheus, Grafana, cAdvisor, NodeExporter and alerting with AlertManager.
- [Github repo](https://github.com/stefanprodan/dockprom)
## installation
```sh
git clone https://github.com/stefanprodan/dockprom
cd dockprom
ADMIN_USER=admin ADMIN_PASSWORD=admin docker-compose up -d
```

View File

@@ -0,0 +1,50 @@
# PhpServerMonitor
- Very basic and minimalist
- Various monitors (ping, tcp & http service requests)
- Has Pushover notifications
<br>
- [Github repo](https://github.com/phpservermon/phpservermon)
- [DockerHub repo](https://hub.docker.com/r/alwynpan/phpservermonitor)
## docker-compose.yml
```yml
version: '3.8'
services:
psm:
image: alwynpan/phpservermonitor
container_name: php-server-monitor
restart: unless-stopped
ports:
- 3123:80
depends_on:
- db
environment:
- DATABASE_HOST=db
- DATABASE_PORT=3306
- DATABASE_NAME=psm
- DATABASE_USER=psm
- DATABASE_PASSWORD=psm
- BASE_URL=http://192.168.1.10:3123
- CHECK_INTERVAL=1
- TIMEOUT=10
- DEBUG=true
db:
image: mysql:5.7
container_name: php-server-monitor-db
restart: unless-stopped
ports:
- 3306:3306
environment:
- MYSQL_ROOT_PASSWORD=top_secret
- MYSQL_DATABASE=psm
- MYSQL_USER=psm
- MYSQL_PASSWORD=psm
volumes:
- ./data/:/var/lib/mysql
```

34
apps/monitors/statping.md Normal file
View File

@@ -0,0 +1,34 @@
# Statping
- Looks great
- Has a mobile app (albeit buggy)
- Lots of stuff (charts, data, etc)
- Lots of integrations & notification types
- Every other release doesn't work
- Slow UI
<br>
- [Homepage](https://statping.com/)
- [Github repo](https://github.com/statping/statping/)
- [DockerHub repo](https://hub.docker.com/r/statping/statping)
## docker-compose.yml
```yml
---
statping:
container_name: statping
image: hunterlong/statping
restart: unless-stopped
ports:
- 3020:8080
volumes:
- ./data:/app
# - /var/run/docker.sock:/var/run/docker.sock
environment:
DB_CONN: sqlite
```
- and go to http://192.168.1.10:3020/setup
- or login as `admin:admin`