Skip to content

umd-lib/library-monitors

Repository files navigation

library-displays

Python 3 Flask service to display equipment and workstation information.

Requires

  • Python 3.10.8

Development Setup

See docs/DevelopmentSetup.md.

Running in Docker

$ docker build -t docker.lib.umd.edu/library-monitors .
$ docker run -it --rm -p 5000:5000 --env-file=.env --read-only docker.lib.umd.edu/library-monitors

Building for Kubernetes

$ docker buildx build . --builder=kube -t docker.lib.umd.edu/library-monitors:VERSION --push

Pages

This service exposes the following URLs for monitor display:

Combined Displays:

Legacy Workstation Displays:

Legacy Equipment Displays:

API Endpoints

The combined displays are dependent on the following JSON endpoints:

Root endpoint (just returns {status: ok} to all requests): http://localhost:5000/

/ping endpoint (just returns {status: ok} to all requests): http://localhost:5000/ping