erreur
This commit is contained in:
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user