Installation
Usage Dashboard ships as a Docker Compose stack with published images on GitHub Container Registry. You only need Docker (with the Compose plugin) to get running.
Quick start
Start from a machine with Git and Docker Compose installed. The default Compose file pulls published images, so there is no local build step.
Clone the repository and enter it:
bashgit clone https://github.com/Skulldorom/usage-dashboard.git cd usage-dashboardCreate your local environment file:
bashcp .env.example .env openssl rand -base64 32 | tr '+/' '-_'Copy the generated value into
ENCRYPTION_KEYin.env, replacingreplace-with-generated-fernet-key. You can leave the rest of the defaults alone for a first local run.Start the stack:
bashdocker compose pull docker compose up -d docker compose logs backendOpen
http://localhost:3000, then use the one-time setup code from the backend logs to create the admin password.
Accessing the stack
Open the frontend container, which also proxies API traffic to the backend:
- Frontend:
http://localhost:3000 - Backend health:
http://localhost:3000/health - Homepage payload:
http://localhost:3000/api/v1/homepage(requires a login session/scoped bearer token unlessHOMEPAGE_ALLOWED_HOSTSallows the request host)
Set NGINX_HTTP_PORT in .env to change the external HTTP port. PostgreSQL is intentionally internal-only and is not published on the host.
Images
The default Compose stack pulls published images from GitHub Container Registry. Set IMAGE_TAG, BACKEND_IMAGE, or FRONTEND_IMAGE to pin or override them.
To build local images instead, see Docker images.