fix: volumi compose relativi alla root del repo (../../models, ../../voices)
Docker / build (cpu, cpu) (push) Canceled after 0s
Docker / build (nvidia/cuda:12.9.2-devel-ubuntu22.04, nvidia/cuda:12.9.2-runtime-ubuntu22.04, cuda, cuda12) (push) Canceled after 0s
Docker / build (nvidia/cuda:13.3.1-devel-ubuntu22.04, nvidia/cuda:13.3.1-runtime-ubuntu22.04, cuda, cuda13) (push) Canceled after 0s
Docker / build (vulkan, vulkan) (push) Canceled after 0s
Docker / build (cpu, cpu) (push) Canceled after 0s
Docker / build (nvidia/cuda:12.9.2-devel-ubuntu22.04, nvidia/cuda:12.9.2-runtime-ubuntu22.04, cuda, cuda12) (push) Canceled after 0s
Docker / build (nvidia/cuda:13.3.1-devel-ubuntu22.04, nvidia/cuda:13.3.1-runtime-ubuntu22.04, cuda, cuda13) (push) Canceled after 0s
Docker / build (vulkan, vulkan) (push) Canceled after 0s
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
# NVIDIA: aggiungere il runtime nvidia (vedi README.md).
|
# NVIDIA: aggiungere il runtime nvidia (vedi README.md).
|
||||||
#
|
#
|
||||||
# Variabili utili:
|
# Variabili utili:
|
||||||
# MODELS_DIR / VOICES_DIR : percorsi di modelli e voci (default: ../ dal compose)
|
# MODELS_DIR / VOICES_DIR : percorsi di modelli e voci (default: ../../ = root del repo)
|
||||||
# PORT : porta host (default 8881)
|
# PORT : porta host (default 8881)
|
||||||
# ============================================================================
|
# ============================================================================
|
||||||
services:
|
services:
|
||||||
@@ -34,8 +34,8 @@ services:
|
|||||||
PORT: "8881"
|
PORT: "8881"
|
||||||
VOICE_DIR: /voices
|
VOICE_DIR: /voices
|
||||||
volumes:
|
volumes:
|
||||||
- "${MODELS_DIR:-../models}:/models:ro"
|
- "${MODELS_DIR:-../../models}:/models:ro"
|
||||||
- "${VOICES_DIR:-../voices}:/voices:ro"
|
- "${VOICES_DIR:-../../voices}:/voices:ro"
|
||||||
ports:
|
ports:
|
||||||
- "${PORT:-8881}:8881"
|
- "${PORT:-8881}:8881"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|||||||
Reference in New Issue
Block a user