This commit is contained in:
2026-02-25 08:16:32 +01:00
parent e4c437d5c0
commit eecc7db671

View File

@ -59,11 +59,9 @@ services:
context: ./services/audio-api
dockerfile: Dockerfile
container_name: audio-api
# 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
@ -76,6 +74,8 @@ services:
- driver: nvidia
count: all
capabilities: [gpu]
ports:
- "7860:7860"
networks:
- studio-net
restart: always