From 4d04e7f3d5cd2cda65c95b25e701c5e11e5e598f Mon Sep 17 00:00:00 2001 From: UpInSmoke Date: Thu, 26 Oct 2023 00:42:00 -0400 Subject: [PATCH] commit --- README.md | 54 ++++++++++++++++++++++++++++++++++++++++++++++ docker-compose.yml | 15 +++++++++++++ reverse-proxy.conf | 21 ++++++++++++++++++ 3 files changed, 90 insertions(+) create mode 100644 README.md create mode 100644 docker-compose.yml create mode 100644 reverse-proxy.conf diff --git a/README.md b/README.md new file mode 100644 index 0000000..dfb61f9 --- /dev/null +++ b/README.md @@ -0,0 +1,54 @@ +
+ +
+ +# FreedomCraft Heartbeat +> Powered By: Uptime Kuma + +Uptime Kuma is an easy-to-use self-hosted monitoring tool. + + +[![GitHub Sponsors](https://img.shields.io/github/sponsors/louislam?label=GitHub%20Sponsors)](https://github.com/sponsors/louislam) +Translation status + + + + +## 🥔 FreedomCraft Heartbeat Nodes + +### Moonlight + +### Torchlight + +## ⭐ 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 \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..c785cfe --- /dev/null +++ b/docker-compose.yml @@ -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 +# - :3001:3001 + restart: unless-stopped + +volumes: + uptime-kuma: \ No newline at end of file diff --git a/reverse-proxy.conf b/reverse-proxy.conf new file mode 100644 index 0000000..c455c73 --- /dev/null +++ b/reverse-proxy.conf @@ -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"; + } +} \ No newline at end of file