StayUp is a simple barebones uptime page for a configurable set of sites, web services and hosts in a local or remote deployment setting. Find full, detailed list of changes in our CHANGELOG
Main screen showing primarily the latency graph which is updated in realtime for the past 2 minutes
Main screen showing an example of the service list which is also constantly up-to-date in real-time.
Using docker-compose, execute the following to start up the required services on your host:
docker-compose up -d
Note that the client code can be found here
It is required that you have a running postgres database that the stayup server can write to. Modify the settings in a file (.env
) or through environment variables.
NOTE - These options are also set in the docker-compose.yml
file and can be modified there for use of that deployment method
ALLOWED_ORIGINS
: Comma-separated list of allowed origins able to connect and request data from this server. Configures CORSDB_HOST
: Hostname or IP Address for the postgres database server that you wish for StayUp to useDB_PORT
: Port that is open for StayUp to connect to theDB_HOST
DB_USER
: The user which has permissions to connect, read, write and update data for StayUp within the selected host databaseDB_PASS
: Password forDB_USER
SERVICE_REFRESH_TIME_MS
: The frequency that the StayUp server will check service reachability + record latency and uptime.
# download dependencies
go mod download
# build server executable
go build -o ./build/stayup
# now start the server by simply executing the binary
./build/stayup