Dockerisation de tout
This commit is contained in:
16
README.md
16
README.md
@@ -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}'
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user