1
0
This commit is contained in:
UpInSmoke 2023-10-26 00:42:00 -04:00
commit 4d04e7f3d5
3 changed files with 90 additions and 0 deletions

54
README.md Normal file
View File

@ -0,0 +1,54 @@
<div align="center" width="100%">
<img src="./public/icon.svg" width="128" alt="" />
</div>
# FreedomCraft Heartbeat
> Powered By: Uptime Kuma
Uptime Kuma is an easy-to-use self-hosted monitoring tool.
<a target="_blank" href="https://github.com/louislam/uptime-kuma"><img src="https://img.shields.io/github/stars/louislam/uptime-kuma" /></a> <a target="_blank" href="https://hub.docker.com/r/louislam/uptime-kuma"><img src="https://img.shields.io/docker/pulls/louislam/uptime-kuma" /></a> <a target="_blank" href="https://hub.docker.com/r/louislam/uptime-kuma"><img src="https://img.shields.io/docker/v/louislam/uptime-kuma/latest?label=docker%20image%20ver." /></a> <a target="_blank" href="https://github.com/louislam/uptime-kuma"><img src="https://img.shields.io/github/last-commit/louislam/uptime-kuma" /></a> <a target="_blank" href="https://opencollective.com/uptime-kuma"><img src="https://opencollective.com/uptime-kuma/total/badge.svg?label=Open%20Collective%20Backers&color=brightgreen" /></a>
[![GitHub Sponsors](https://img.shields.io/github/sponsors/louislam?label=GitHub%20Sponsors)](https://github.com/sponsors/louislam) <a href="https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/">
<img src="https://weblate.kuma.pet/widgets/uptime-kuma/-/svg-badge.svg" alt="Translation status" />
</a>
<img src="https://user-images.githubusercontent.com/1336778/212262296-e6205815-ad62-488c-83ec-a5b0d0689f7c.jpg" width="700" alt="" />
## 🥔 FreedomCraft Heartbeat Nodes
### Moonlight <a target="_blank" href="https://heartbeat2.freedomcraft.systems/"><img src="https://heartbeat1.freedomcraft.systems//api/badge/61/status" /></a> <a target="_blank" href="https://heartbeat2.freedomcraft.systems/"><img src="https://heartbeat1.freedomcraft.systems//api/badge/61/uptime" /></a> <a target="_blank" href="https://heartbeat2.freedomcraft.systems/"><img src="https://heartbeat1.freedomcraft.systems//api/badge/61/cert-exp" /></a> <a target="_blank" href="https://heartbeat2.freedomcraft.systems/"><img src="https://heartbeat1.freedomcraft.systems//api/badge/61/avg-response" /></a>
### Torchlight <a target="_blank" href="https://heartbeat1.freedomcraft.systems/"><img src="https://heartbeat2.freedomcraft.systems//api/badge/62/status" /></a> <a target="_blank" href="https://heartbeat1.freedomcraft.systems/"><img src="https://heartbeat2.freedomcraft.systems//api/badge/62/uptime" /></a> <a target="_blank" href="https://heartbeat1.freedomcraft.systems/"><img src="https://heartbeat2.freedomcraft.systems//api/badge/62/cert-exp" /></a> <a target="_blank" href="https://heartbeat1.freedomcraft.systems/"><img src="https://heartbeat2.freedomcraft.systems//api/badge/62/avg-response" /></a>
## ⭐ Features
- Monitoring uptime for HTTP(s) / TCP / HTTP(s) Keyword / HTTP(s) Json Query / Ping / DNS Record / Push / Steam Game Server / Docker Containers
- Fancy, Reactive, Fast UI/UX
- Notifications via Telegram, Discord, Gotify, Slack, Pushover, Email (SMTP), and [90+ notification services, click here for the full list](https://github.com/louislam/uptime-kuma/tree/master/src/components/notifications)
- 20-second intervals
- [Multi Languages](https://github.com/louislam/uptime-kuma/tree/master/src/lang)
- Multiple status pages
- Map status pages to specific domains
- Ping chart
- Certificate info
- Proxy support
- 2FA support
## 🔧 How to Install
### 🐳 Docker Compose
```bash
mkdir /docker/uptime-kuma/data -p
sudo touch /docker/uptime-kuma/docker-compose.yml
sudo touch /etc/nginx/conf.d/uptime-kuma.conf
```
```bash
systemctl restart nginx
cd /docker/uptime-kuma/
docker compose up -d
curl -v http://localhost:3001/
```
Verify Uptime Kuma is now running on http://localhost:3001

15
docker-compose.yml Normal file
View File

@ -0,0 +1,15 @@
version: '3.8'
services:
uptime-kuma:
image: louislam/uptime-kuma:1
container_name: uptime-kuma
volumes:
- /docker/uptime-kuma/data:/app/data
ports:
- 127.0.0.1:3001:3001
# - <tailscale-ip>:3001:3001
restart: unless-stopped
volumes:
uptime-kuma:

21
reverse-proxy.conf Normal file
View File

@ -0,0 +1,21 @@
server {
listen 80 default_server;
server_name upinsmoke.systems;
return 301 https://$server_name$request_uri;
}
server {
listen 443 ssl http2 default_server;
server_name freedomcraft.systems;
ssl_certificate /etc/letsencrypt/live/upinsmoke.systems/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/upinsmoke.systems/privkey.pem;
location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
proxy_pass http://localhost:3001/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
}