Browse Source

Add uptime-kuma app (#1148)

0.4.10
Philipp Haussleiter 3 years ago
committed by GitHub
parent
commit
a6c442ee11
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 21
      apps/registry.json
  2. 0
      apps/uptime-kuma/data/.gitkeep
  3. 14
      apps/uptime-kuma/docker-compose.yml
  4. 4
      scripts/configure
  5. 2
      templates/.env-sample
  6. 4
      templates/torrc-apps-3-sample

21
apps/registry.json

@ -636,5 +636,26 @@
],
"path": "",
"defaultPassword": ""
},
{
"id": "uptime-kuma",
"category": "Networking",
"name": "Uptime Kuma",
"version": "1.11.1",
"tagline": "Self-hosted uptime monitoring tool",
"description": "Uptime Kuma is a self-hosted monitoring tool like Uptime Robot.\n\nFeatures:\n\n- Monitoring uptime for HTTP(s) / TCP / HTTP(s) Keyword / Ping / DNS Record / Push / Steam Game Server.\n- Fancy, Reactive, Fast UI/UX.\n- Notifications via Telegram, Discord, Gotify, Slack, Pushover, Email (SMTP), and 70+ notification services.\n- 20 second intervals.\n- Multi Languages\n- Simple Status Page\n- Ping Chart\n- Certificate Info\n",
"developer": "Louis Lam",
"website": "https://uptime.kuma.pet",
"dependencies": [],
"repo": "https://github.com/louislam/uptime-kuma",
"support": "https://github.com/louislam/uptime-kuma/issues",
"port": 8385,
"gallery": [
"1.jpg",
"2.jpg",
"3.jpg"
],
"path": "",
"defaultPassword": ""
}
]

0
apps/uptime-kuma/data/.gitkeep

14
apps/uptime-kuma/docker-compose.yml

@ -0,0 +1,14 @@
version: "3.7"
services:
uptime-kuma:
image: louislam/uptime-kuma:1.11.1@sha256:9fd26d8adae499533e0079f218b4c9139e89b3a085ec04b246c3fbf7af04aa62
restart: on-failure
stop_grace_period: 1m
ports:
- ${APP_UPTIME_KUMA_PORT}:3001
volumes:
- ${APP_DATA_DIR}/data/uptime-kuma:/app/data
networks:
default:
ipv4_address: $APP_UPTIME_KUMA_IP

4
scripts/configure

@ -216,6 +216,8 @@ APP_TALLYCOIN_CONNECT_PORT="8123"
APP_SYNCTHING_IP="10.21.21.61"
APP_SYNCTHING_PORT="8384"
APP_SYNCTHING_SYNC_PORT="22000"
APP_UPTIME_KUMA_PORT="8385"
APP_UPTIME_KUMA_IP="10.21.21.62"
# Generate RPC credentials
if [[ -z ${BITCOIN_RPC_USER+x} ]] || [[ -z ${BITCOIN_RPC_PASS+x} ]] || [[ -z ${BITCOIN_RPC_AUTH+x} ]]; then
@ -429,6 +431,8 @@ for template in "${NGINX_CONF_FILE}" "${BITCOIN_CONF_FILE}" "${LND_CONF_FILE}" "
sed -i "s/<app-syncthing-ip>/${APP_SYNCTHING_IP}/g" "${template}"
sed -i "s/<app-syncthing-port>/${APP_SYNCTHING_PORT}/g" "${template}"
sed -i "s/<app-syncthing-sync-port>/${APP_SYNCTHING_SYNC_PORT}/g" "${template}"
sed -i "s/<app-uptime-kuma-port>/${APP_UPTIME_KUMA_PORT}/g" "${template}"
sed -i "s/<app-uptime-kuma-ip>/${APP_UPTIME_KUMA_IP}/g" "${template}"
done
##########################################################

2
templates/.env-sample

@ -110,3 +110,5 @@ APP_TALLYCOIN_CONNECT_PORT=<app-tallycoin-connect-port>
APP_SYNCTHING_IP=<app-syncthing-ip>
APP_SYNCTHING_PORT=<app-syncthing-port>
APP_SYNCTHING_SYNC_PORT=<app-syncthing-sync-port>
APP_UPTIME_KUMA_PORT=<app-uptime-kuma-port>
APP_UPTIME_KUMA_IP=<app-uptime-kuma-ip>

4
templates/torrc-apps-3-sample

@ -44,3 +44,7 @@ HiddenServicePort 80 <app-tallycoin-connect-ip>:<app-tallycoin-connect-port>
# syncthing Hidden Service
HiddenServiceDir /var/lib/tor/app-syncthing
HiddenServicePort 80 <app-syncthing-ip>:<app-syncthing-port>
# uptime-kuma Hidden Service
HiddenServiceDir /var/lib/tor/app-uptime-kuma
HiddenServicePort 80 <app-uptime-kuma-ip>:3001

Loading…
Cancel
Save