Name | Github Profile | Buy me a Coffee |
---|---|---|
gOOvER | https://github.com/gOOvER |
Uptime Kuma is an easy-to-use self-hosted monitoring tool Egg is based on parkers generic nodejs egg
Github: https://github.com/louislam/uptime-kuma
After installation and successful start, browse to your : and setup the Admin.
Uptime Kuma requires 1 port. You can choose any port you want
Port | default |
---|---|
default | 3000 |
The latest image provides support for Cloudflared and Apprise.
With Cloudflared it is possible to create a proxy over Cloudflare without having to use an nginx proxy. More info here: https://github.com/louislam/uptime-kuma/wiki/Reverse-Proxy-with-Cloudflare-Tunnel
Apprise provides notifications for all kinds of services. Uptime Kuma has a built-in support for Apprise. More info's here: https://github.com/caronc/apprise#supported-notifications
The image supports the monitor "HTTP(s) - Browser Engine". To use this monitor, enter the following path in the settings under "General -> Chrome/Chromium Executable" (at the bottom):
/usr/bin/chromium-browser
Name | Tag |
---|---|
ghcr.io/ptero-eggs/apps:uptimekuma | ghcr.io/ptero-eggs/apps:uptimekuma |
Name | Description | Environment Variable | Default Value | User Viewable | User Editable |
---|---|---|---|---|---|
Git Repo Address | GitHub Repo to clone I.E. https://github.com/parkervcp/repo_name | GIT_ADDRESS | https://github.com/louislam/uptime-kuma | No | No |
JS file | The file that starts the app | JS_FILE | server/server.js | No | No |
Auto Update | AUTO_UPDATE | 1 | Yes | Yes |
#!/bin/ash
# Uptime Kuma App Installation Script
#
# Server Files: /mnt/server
apk update
apk add --no-cache git curl jq file unzip make gcc g++ python3 python3-dev libtool
apk add --no-cache git-lfs --repository=https://dl-cdn.alpinelinux.org/alpine/latest-stable/community
## npm update to latest
echo -e "Updating npm to latest....\n"
if [ -d "/mnt/server/node_modules" ]; then
rm -fR /mnt/server/node_modules
npm cache verify
fi
npm install -g npm@latest
## Uptime Kuma install & update
mkdir -p /mnt/server
cd /mnt/server
git config --global --add safe.directory /mnt/server
if [ -d .git ]; then
echo -e "Updating Uptime Kuma....\n "
npm run setup
else
echo -e "Download and installing Uptime Kuma...\n"
git clone https://github.com/louislam/uptime-kuma.git .
npm run setup
fi
## only create dir, when .git is present to prevent errors
if [ -d .git ]; then
mkdir -p /mnt/server/data
fi
if [ ! -f "/mnt/server/data/kuma.db" ]; then
cp /mnt/server/db/kuma.db /mnt/server/data/kuma.db
fi
## install end
echo -e "-----------------------------------------"
echo -e "Installation completed..."
echo -e "-----------------------------------------"
exit 0