Installation
Cette section détaille les méthodes de déploiement de Stream Fusion Reborn.
Méthodes de déploiement
Section intitulée « Méthodes de déploiement »- Instance unique : perso ou petit groupe. Guide simple.
- Production scalable : communauté ou haute disponibilité. Guide production.
Prérequis communs
Section intitulée « Prérequis communs »- Docker >= 20.10
- Docker Compose >= 2.20
- Clé API TMDB : créer un compte
Architecture de la stack
Section intitulée « Architecture de la stack »graph TB
Internet[Internet]
Proxy[Reverse Proxy - Traefik]
subgraph App[Stream Fusion xN]
SF[FastAPI]
end
subgraph Data[Services de donnees]
PG[PostgreSQL 17]
PGB[PgBouncer]
Redis[Redis 7]
Meili[Meilisearch]
end
subgraph BG[Taches de fond]
Worker[Workers x2]
Scheduler[Scheduler x1]
end
OptProxy[Proxy externe - optionnel]
Internet --> Proxy
Proxy --> SF
SF --- PGB --- PG
SF --- Redis
SF --- Meili
Worker --- PGB
Worker --- Redis
Worker --- Meili
Scheduler --- PGB
Scheduler --- Redis
SF -.-> OptProxy
style App fill:#311b92,color:#fff
style Data fill:#1b5e20,color:#fff
style BG fill:#bf360c,color:#fff
style OptProxy fill:#e65100,color:#fff
Services
Section intitulée « Services »| Service | Rôle | Obligatoire | Port |
|---|---|---|---|
| Stream Fusion | Application FastAPI | 8080 | |
| PostgreSQL | Base de données persistante | 5432 | |
| Redis | Cache rapide, sessions, broker | 6379 | |
| Meilisearch | Recherche full-text | 7700 | |
| Taskiq Scheduler | Orchestration cron | - | |
| Taskiq Worker | Tâches de fond | - | |
| PgBouncer | Pool de connexions PG | Production | 6432 |
Image Docker
Section intitulée « Image Docker »L’image officielle est disponible sur Docker Hub :
docker pull laster13/stream-fusion-reborn:latestPas de build local nécessaire : l’image contient tout le nécessaire pour fonctionner.
Prochaines étapes
Section intitulée « Prochaines étapes »- Production scalable : Traefik, PgBouncer, 4 replicas, sécurité Docker.
- Instance unique : configuration simple pour débuter.
- Fichier d’environnement : fichier
.envexpliqué variable par variable.