- Dockerfile: python:3.12-slim + uv --frozen, no root, HEALTHCHECK sobre /api/health, un worker con --proxy-headers para el Traefik de Coolify - HEAD explícito en /api/health y /api/export (curl -I del criterio 12; export HEAD devuelve el Content-Length exacto sin generar audio) - PWA: manifest, iconos generados con numpy+stdlib, apple-touch-icon - docker-compose.dev.yml (solo local), .dockerignore - deploy/coolify.md: recurso, deploy key, webhook Gitea, dominio, volumen - versión 0.2.0 · smoke test del contenedor en local: healthy
45 lines
806 B
TOML
45 lines
806 B
TOML
[project]
|
|
name = "binaural"
|
|
version = "0.2.0"
|
|
description = "Generador web de tonos binaurales alpha/beta · Collina"
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"numpy>=2.0",
|
|
"soundfile>=0.12",
|
|
"fastapi>=0.115",
|
|
"uvicorn>=0.30",
|
|
"pydantic>=2.7",
|
|
"pyyaml>=6.0",
|
|
"typer>=0.12",
|
|
]
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"pytest>=8",
|
|
"httpx>=0.27",
|
|
"ruff>=0.6",
|
|
]
|
|
|
|
[project.scripts]
|
|
binaural = "binaural.cli:app"
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["binaural"]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py312"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "W", "I", "UP", "B", "SIM", "ANN"]
|
|
|
|
[tool.ruff.lint.per-file-ignores]
|
|
"tests/*" = ["ANN"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|