This commit is contained in:
2026-02-24 18:44:23 +01:00
parent f0730389e0
commit da5fadcae3

View File

@ -1,5 +1,3 @@
version: '3.8'
services:
# --- LE PORTIER ---
gateway:
@ -53,18 +51,18 @@ services:
- studio-net
restart: always
# --- LE SERVICE AUDIO (Utilise ton Dockerfile) ---
# --- LE SERVICE AUDIO ---
audio-api:
build:
context: ./services/audio-api
dockerfile: Dockerfile
container_name: audio-api
# --- LES DEUX LIGNES CRUCIALES ICI ---
entrypoint: ["python3.11", "server.py"]
command: []
# -------------------------------------
# Force Python à sortir les logs immédiatement
environment:
- NVIDIA_VISIBLE_DEVICES=all
- PYTHONUNBUFFERED=1
# On utilise le chemin absolu dans le container pour être sûr
entrypoint: ["python3.11", "/app/server.py"]
volumes:
- ./services/audio-api:/app
- ./models:/app/models