Skip to content

LiamGallagher737/isitonline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Is it online?

A self-hosted web app for monitoring your services

Installation

Docker Compose

The easist way to host this yourself is with docker compose.

Note

As this is still in development, no docker images have been published yet. You will have to build the image youself.

Example Docker-Compose.yml

version: '3.1'
services:
  isitonline:
    image: isitonline
    environment:
      POSTGRES_PASSWORD: example
    ports:
      - 8080:8080
    volumes:
      - db_data:/db

volumes:
  db_data:

Windows

Development

Database

  1. Install the sqlx cli cli with cargo install sqlx-cli
  2. Create a DATABASE_URL enviroment variable with the value sqlite:db/data.db
  3. Create the database with sqlx database create
  4. Set it up with the tables using sqlx migrate run

Running

After the setup you can run the app with cargo r and it should appear at http://127.0.0.1:8080. You could also use the dockerfile for development if you'd rather not install extra cli's or just prefer docker, however the included image doesn't cache dependencies yet so it's very slow.

Useful Tools

Credits

A lot of the design is based of this design by Fireart Studio.

About

A self-hosted web app for monitoring your services

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published