This repo includes a Docker Compose file at demo/docker-compose.yml
that creates source and target LRS instances using SQL LRS and uses LRSPipe to forward data between them. This demo only requires having Docker 3.9+ installed.
To run the demo:
cd demo
docker compose up
This will create a source LRS at http://0.0.0.0:8080
and a target LRS at http://0.0.0.0:8081
. The credentials for each can be found (and changed) in the docker-compose.yml
file. If you send xAPI data to the source it will be forwarded to the target.
The demo includes a Prometheus metrics server and push gateway. When the demo is running you can navigate to http://0.0.0.0:9090 and explore xapipe metrics (see below).
In addition to prometheus the demo creates a Grafana server at http://0.0.0.0:3000. Log in with username admin
and password admin
and set a password, then you can view a comprehensive dashboard with all metrics. See metrics for more details.