Skip to content

Only deploy the openstatus status page (self-hosting)

Openstatus is a status page platform with monitoring capabilities. If you only want to self-host the status page component of openstatus, this guide will walk you through the process.

  • Docker and Docker Compose installed
  • Basic understanding of Docker and containerization
  • Command line experience
  • Git installed
  • Node.js and pnpm (for database migrations)
  1. Clone the Repository

    Get the latest version of openstatus:

    Terminal window
    git clone https://github.com/openstatushq/openstatus
    cd openstatus
  2. Configure Your Environment

    Copy the example environment file. This file will hold all your configuration variables.

    Terminal window
    cp .env.docker-lightweight .env.docker

    Open .env.docker in a text editor. At a minimum, you must set a value for AUTH_SECRET for authentication to work. For a complete setup, review the file for other variables like OAuth providers or email services.

  3. Build and Start Services

    Use Docker Compose to build and run all openstatus services in the background.

    Terminal window
    export DOCKER_BUILDKIT=1
    docker compose -f docker-compose.lightweight.yml up -d

Now that the services are running, you can access the dashboard and perform the final setup steps.

  • Dashboard: http://localhost:3000
  • Status Pages: http://localhost:3001

You can now log in to the dashboard using email authentication. If you want to set up OAuth providers, refer to the environment variable configuration in the .env.docker file.

Create your first status page and start adding static components to monitor your services. For more advanced configurations and monitoring setups, refer to the full self-hosting guide.