Add dual ACE-Step music studio interfaces

This commit is contained in:
Mikei386 committed 2026-09-08 18:46:54 +02:00
1 parent f58d61140e
commit a4e894fe70
12 files changed
+404 -23

No files matched your search

+46 -2
View File
@@ -15,7 +15,8 @@ services:
ACESTEP_DEVICE: cuda
# The image entrypoint forwards only ACESTEP_EXTRA_ARGS to the UI CLI.
# One result per run avoids the batch=2 VRAM/time penalty.
ACESTEP_EXTRA_ARGS: "--batch_size 1"
# Named Gradio endpoints are consumed by the separate ace-step-ui service.
ACESTEP_EXTRA_ARGS: "--batch_size 1 --enable-api"
TOKENIZERS_PARALLELISM: "false"
NVIDIA_VISIBLE_DEVICES: ${ACESTEP_GPU_UUID:?set ACESTEP_GPU_UUID to the RTX 5080 UUID}
deploy:
@@ -26,7 +27,8 @@ services:
device_ids: ["${ACESTEP_GPU_UUID:?set ACESTEP_GPU_UUID to the RTX 5080 UUID}"]
capabilities: [gpu]
ports:
- "127.0.0.1:${ACESTEP_UI_PORT:-7861}:7860"
# Raw Gradio remains available for diagnostics; users open music-ui below.
- "127.0.0.1:${ACESTEP_GRADIO_PORT:-7862}:7860"
volumes:
- ${ACESTEP_CHECKPOINTS_DIR:-/data/models/acestep/checkpoints}:/app/checkpoints
- ${ACESTEP_HF_CACHE_DIR:-/data/models/acestep/hf-cache}:/root/.cache/huggingface
@@ -45,3 +47,45 @@ services:
timeout: 10s
start_period: 300s
retries: 3
networks:
- music
- frontend
music-ui:
build:
context: ./ace-step-ui
args:
ACE_STEP_UI_COMMIT: a1fdf91829ec6f7b98844f80e323529cd155dbf2
image: mike-ai/ace-step-ui:a1fdf918
container_name: mike-ai-music-ui
environment:
NODE_ENV: production
PORT: "3001"
FRONTEND_URL: ${ACESTEP_UI_PUBLIC_URL:-http://192.168.1.212:7861}
ACESTEP_API_URL: http://music-worker:7860
DATABASE_PATH: /data/acestep.db
AUDIO_DIR: /data/audio
DATASETS_DIR: /data/datasets
DATASETS_UPLOADS_DIR: /data/datasets/uploads
JWT_SECRET: ${ACESTEP_UI_JWT_SECRET:?set ACESTEP_UI_JWT_SECRET}
ports:
- "127.0.0.1:${ACESTEP_UI_PORT:-7861}:3000"
volumes:
- ${ACESTEP_UI_DATA_DIR:-/data/music/ace-step-ui}:/data
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "curl -fsS http://127.0.0.1:3000/ >/dev/null && curl -fsS http://127.0.0.1:3001/health >/dev/null"]
interval: 30s
timeout: 10s
start_period: 30s
retries: 3
networks:
- music
- frontend
networks:
music:
name: mike-ai-music
frontend:
external: true
name: mike-ai_frontend