Skip to content

Instantly share code, notes, and snippets.

@Koratsuki
Koratsuki / uptime-kuma-mysql-docker-with-old-data-from-sqlite.md
Last active August 19, 2025 16:24
Uptime-Kuma with MySQL/MariaDB in Docker with old data from SQLite

Uptime-Kuma with MySQL in Docker with old data from SQLite

Note: Uptime-Kuma comes with SQLite database support by default in its Docker v1 image. However, when you have many servers, say, 150 or more, due to the SQLite structure itself, Uptime-Kuma starts to slow down to the point of becoming unresponsive and occasionally crashing. The best way to avoid this is to use MySQL/MariaDB.

Note 2: Currently, the docker image supporting MySQL/MariaDB is louislam/uptime-kuma:2.0.0-beta.3, which, while still in beta, is almost production-ready. So we'll be using this one.

Procedure:

  1. Update system and install pip:
@Koratsuki
Koratsuki / Nginx-last-version-debian-ubuntu.md
Created August 21, 2025 14:55
Install latest version of Nginx on Debian/Ubuntu

Install latest version of Nginx on Debian/Ubuntu

Install GPG:

sudo apt install curl gnupg2 ca-certificates lsb-release ubuntu-keyring -y

Download repo key:

Running debmirror to update offline Debian repos.

Go to github repo.