Skip to content

Latest commit

Β 

History

History
66 lines (48 loc) Β· 2.01 KB

File metadata and controls

66 lines (48 loc) Β· 2.01 KB

About

This is the repository for building and maintaining the status website for the Finnish Quantum-Computing Infrastructure (FiQCI). It is based on uptime-kuma https://github.com/louislam/uptime-kuma

Development & re-building Docker Image

  • Clone the repository, checkout to a new branch and make changes
git clone https://github.com/FiQCI/uptime-kuma.git
cd uptime-kuma
git checkout <your-branch-name>

πŸ”§ How to Install

🐳 Docker

docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name uptime-kuma docker-registry.rahti.csc.fi/fiqci-workspace/uptime-kuma:v1.0

🐳 Docker Compose

docker compose up -d

Uptime Kuma is now running on http://localhost:3001

πŸ’ͺ🏻 Non-Docker

Requirements:

  • Platform
    • βœ… Major Linux distros such as Debian, Ubuntu, CentOS, Fedora and ArchLinux etc.
    • βœ… Windows 10 (x64), Windows Server 2012 R2 (x64) or higher
    • ❌ Replit / Heroku
  • Node.js 14 / 16 / 18 / 20.4
  • npm 9
  • Git
  • pm2 - For running Uptime Kuma in the background
# Update your npm
npm install npm@9 -g

git clone https://github.com/FiQCI/uptime-kuma
cd uptime-kuma

# Option 1. Try it
node server/server.js

# (Recommended) Option 2. Run in the background using PM2
# Install PM2 if you don't have it:
npm install pm2 -g && pm2 install pm2-logrotate

# Start Server
pm2 start server/server.js --name uptime-kuma

Uptime Kuma is now running on http://localhost:3001 see https://github.com/FiQCI/uptime-kuma/blob/master/CONTRIBUTING.md for additional information on the stacks