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: services:
# --- LE PORTIER --- # --- LE PORTIER ---
gateway: gateway:
@ -53,18 +51,18 @@ services:
- studio-net - studio-net
restart: always restart: always
# --- LE SERVICE AUDIO (Utilise ton Dockerfile) --- # --- LE SERVICE AUDIO ---
audio-api: audio-api:
build: build:
context: ./services/audio-api context: ./services/audio-api
dockerfile: Dockerfile dockerfile: Dockerfile
container_name: audio-api container_name: audio-api
# --- LES DEUX LIGNES CRUCIALES ICI --- # Force Python à sortir les logs immédiatement
entrypoint: ["python3.11", "server.py"]
command: []
# -------------------------------------
environment: environment:
- NVIDIA_VISIBLE_DEVICES=all - 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: volumes:
- ./services/audio-api:/app - ./services/audio-api:/app
- ./models:/app/models - ./models:/app/models