Installation
OpenUptimes offers multiple installation methods to fit your specific needs. Choose the approach that works best for you.
Option 1: Deploy to Vercel (Recommended)
The easiest way to get started with OpenUptimes is to deploy directly to Vercel with our one-click deploy button.
Visit the OpenUptimes repository and click the Deploy with Vercel button.
Fill in the project name and connect your GitHub account.
Leave all the default settings as they are.
Click Deploy and wait for the deployment to complete.
Setting up Redis on Vercel
Once your site is deployed, you'll need to add Redis for data storage:
- Go to your Vercel dashboard and open your newly deployed project
- Click on Storage in the left sidebar
- Click Add and select Vercel Redis
- Follow the prompts to create a new Redis database
- Once completed, Vercel will automatically add the Redis connection details to your project
Option 2: Self-Hosted Deployment
For users who want more control over their deployment:
Prerequisites
- Node.js 18 or later
- Redis database
- Git
Installation Steps
- Fork and clone the repository:
- Install dependencies:
- Set up Redis:
- Install Redis locally: Redis Quick Start
- Or use Docker:
docker run -p 6379:6379 redis -
Or use a managed Redis service like Upstash or Redis Cloud
-
Create a
.env.localfile:
REDIS_URL=redis://localhost:6379
NEXT_PUBLIC_SITE_NAME="OpenUptimes"
NEXT_PUBLIC_SITE_DESCRIPTION="Service Status Monitor"
NEXT_PUBLIC_REFRESH_INTERVAL=60000
- Run the development server:
-
Navigate to
http://localhost:3000/adminto configure your services -
For production, build and start:
Next Steps
After installation, you should:
- Set up GitHub Actions for monitoring
- Configure your services
- Customize your instance to match your brand
Default Admin Access
When you first access /admin, you'll be prompted to create an admin password. Keep this password safe as it's required for all administrative operations.
Redis Connection
Make sure your Redis connection is properly configured. You can test it by visiting the /api/test-redis endpoint on your deployed instance.