feat: exposition Traefik + provisioning auth (v0.21.0)

Backend exposé via Traefik+TLS (réseau traefik-public externe, labels,
CHLOVA_DOMAIN) — surface unique. Script provision-auth (hash scrypt +
TOTP otpauth + JWT). .env.example section API/UI. security.md : surface
exposée Phase 4. Compose revalidé.

Palier de risque : privilégié (exposition réseau) — non déployé ; auth
requise pour activer l'API.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Kantin-Petit
2026-06-23 02:15:17 +02:00
parent 26debf2fe0
commit e97c885ebf
6 changed files with 80 additions and 4 deletions
+2 -1
View File
@@ -13,7 +13,8 @@
"start": "node dist/index.js",
"typecheck": "tsc -p tsconfig.json",
"test": "vitest run",
"test:watch": "vitest"
"test:watch": "vitest",
"provision-auth": "tsx scripts/provision-auth.ts"
},
"dependencies": {
"@fastify/cors": "11.2.0",