Stack de production â Telaria
Ce document dĂ©crit ce qui tourne rĂ©ellement en production. Ce n'est pas un guide d'installation â c'est une carte d'identitĂ©. Pour l'installation initiale : deployment.md.
Hébergeur & OS
| ĂlĂ©ment |
Valeur |
| Hébergeur |
OVH VPS |
| OS |
Ubuntu 26.04 LTS (noble) |
| Architecture |
x86-64 |
Versions des composants
| Composant |
Version en prod |
| Apache |
2.4.63 |
| PHP |
8.5 (NTS, via PHP-FPM) |
| MySQL |
8.4.7 |
| Composer |
2.9.2 |
| Node.js |
v20.18.1 |
| Python |
3.13.2 (microservice embeddings) |
| git |
2.48.1 |
| Certbot |
renouvellement automatique (cron) |
Services systemd actifs
| Service |
RĂŽle |
Port |
apache2 |
Serveur HTTP/HTTPS |
80, 443 |
php8.5-fpm |
FastCGI PHP |
socket UNIX |
mysql |
Base de données |
127.0.0.1:3306 |
opendkim |
Signature DKIM multi-NDD |
socket UNIX |
postfix |
Relais SMTP sortant (OVH) |
25 |
fail2ban |
Blocage brute-force SSH |
â |
certbot (timer) |
Renouvellement TLS automatique |
â |
tlr-embeddings |
Microservice Python d'embeddings |
127.0.0.1:8001 |
Les workers Symfony (telaria-*) sont planifiés dans le sprint courant (IaC manquant).
Réseau & sécurité
| ĂlĂ©ment |
Valeur |
| Port SSH |
9501 (custom â jamais 22) |
| Firewall |
UFW (Apache Full + port 9501) |
| TLS |
Let's Encrypt wildcard DNS-01 (plugin OVH) |
| Certificats |
telaria.dev + *.telaria.dev |
| DKIM |
OpenDKIM, multi-NDD (voir email-dkim.md) |
| HSTS |
Activé (voir hsts.md) |
| Security headers |
CSP, X-Frame-Options, COEP/COOP/CORP (voir security-headers.md) |
Topologie des répertoires
/var/www/
âââ telaria/ â application principale (telaria.dev)
â âââ public/ â document root Apache
â âââ var/
â â âââ rag/ â index SQLite + vec0.so (www-data:www-data)
â â âââ log/
â âââ .env.local â secrets (non versionnĂ©)
âââ adoption/ â adoption-app (adoption.lan, env dev poseidon)
/opt/
âââ tlr-embeddings/ â microservice Python (venv, systemd)
âââ .venv/
/usr/local/lib/
âââ sqlite-vec/
âââ vec0.so â extension SQLite pour recherche kNN
Domaines configurés (vhosts Apache)
| Domaine |
Application |
TLS |
telaria.dev |
telaria-app |
â
Let's Encrypt |
*.telaria.dev |
Sites multisite (resolver par host) |
â
wildcard |
Vhosts versionnés dans tlr-vhosts. Multisite : voir architecture-symfony.md.
Empreinte mémoire approximative
| Composant |
RAM |
| PHP-FPM (pool) |
~150â300 Mo selon charge |
| MySQL |
~200 Mo |
tlr-embeddings (modÚle chargé) |
~440 Mo |
| Apache |
~50 Mo |
| OS + reste |
~200 Mo |
Total : ~1â1,2 Go sur un VPS 2 Go RAM â marge correcte.
Voir aussi