Skip to content

12urenloop/Loxsi

Repository files navigation

Loxsi

Setup

Make sure you have docker, docker compose & uv

Configure

Change the config.yml file to your needs.

Admin panel

To access the admin panel at /admin you have to login using basic auth. With the following yaml segment you can configure the username and password.

admin:
  name: <user>
  password: <password>

Active Lap Sources

In the following segment you can configure the current lap source. When this is changed on the admin panel the config will change accordingly.

lap_source:
  id: <telraam lap source id>
  name: <lap source name> # Optional

Active Position Sources

In the following segment you can configure the current position source. When this is changed on the admin panel the config will change accordingly.

position_source:
  id: <telraam position source id>
  name: <position source name> # Optional

Running

Access at http://localhost:8000

Development

The development container supports hot reloading.

docker-compose -f docker-compose.dev.yml up

or run it locally

uv venv
source .venv/bin/activate
uv run fastapi dev

Production

docker-compose -f docker-compose.yml up --build -d