Dockerisation de tout

This commit is contained in:
2025-12-06 22:22:13 +01:00
parent fbc9d4822b
commit eb5ec75626
8 changed files with 269 additions and 36 deletions

View File

@@ -59,23 +59,23 @@ AUDIO_LIBRARY_PATH=/chemin/vers/vos/fichiers/audio
./scripts/download-essentia-models.sh
```
### 4. Lancer avec Docker
### 4. Lancer avec Docker (Production)
```bash
docker-compose up -d
```
L'API sera disponible sur `http://localhost:8000`
La documentation interactive : `http://localhost:8000/docs`
L'API sera disponible sur `http://localhost:8001`
La documentation interactive : `http://localhost:8001/docs`
Le frontend sera accessible sur `http://localhost:3000`
### 5. Lancer le frontend (développement)
### 5. Lancer avec Docker (Développement)
```bash
cd frontend
npm install
npm run dev
docker-compose -f docker-compose.dev.yml up -d
```
L'API sera disponible sur `http://localhost:8001`
Le frontend sera accessible sur `http://localhost:3000`
## 📖 Utilisation
@@ -91,7 +91,7 @@ Le frontend sera accessible sur `http://localhost:3000`
#### Via l'API
```bash
curl -X POST http://localhost:8000/api/analyze/folder \
curl -X POST http://localhost:8001/api/analyze/folder \
-H "Content-Type: application/json" \
-d '{"path": "/audio/music", "recursive": true}'
```