Files
Sebastian Gabrielsson 1625e4ec8f Migration to FastAPI is complete. Also added observability functionality to integrate with opentelemetry.
Migration includes:
* A move away from being a SPA to have actual endpoints
* Every page is generated via Jinja2Template
* Added observability class to export metrics and logs to opentelemetry to integrate with observability stack
* Let's database cache what the current status of all VMs are instead of using a dict to allow more multiple workers reading from a single source
* The vm status API check to proxmox not caches authentication header for an hour instead of requesting a new header everytime it makes a request every thirty seconds.
* Updated front end to be more WCAG compatible but it's still WIP
2026-05-21 15:44:03 +02:00

23 lines
606 B
TOML

[tool.fastapi]
entrypoint = "src.main:app"
[project]
name = "proxmox-web-portal"
version = "1.0.0"
description = "A FastAPI application to provide students and teachers and easier way to access labb course machines"
dependencies = [
"fastapi[standard-no-fastapi-cloud-cli]",
"websockets",
"requests",
"configparser",
"itsdangerous",
"mariadb",
"asyncio",
"opentelemetry-sdk",
"opentelemetry-api",
"opentelemetry-instrumentation-fastapi",
"opentelemetry-instrumentation-requests",
"opentelemetry-exporter-otlp",
"opentelemetry-instrumentation-logging"
]