Files
hot-step-cpp-ROCm/.env.docker
T
2026-08-16 18:24:52 +07:00

42 lines
2.0 KiB
Docker

# HOT-Step CPP — Docker Environment Configuration
# This file configures the app for running inside a Docker container.
# Paths reference the container filesystem layout.
# ── Engine ──────────────────────────────────────────────────────────
# Binary location (Ninja single-config layout — no Release/ subdirectory)
ACESTEPCPP_EXE=/app/engine/ace-server
# Model + adapter directories (bind-mounted from host)
ACESTEPCPP_MODELS=/app/models
ACESTEPCPP_ADAPTERS=/app/adapters
# ── Path Mapping (Windows → Docker) ─────────────────────────────────
# Translates Windows-native paths in album presets to container mounts.
# JSON object: { "<windows_prefix>": "<container_mount>" }
# Keeps presets working on both Windows and Docker without modification.
DOCKER_PATH_MAP={"D:\\Ace-Step-Latest\\All LoKR Files\\sidestep\\xl-base-turbo-05":"/app/adapters","D:\\Ace-Step-Latest\\Datasets-LoRA-LoKR":"/app/datasets"}
# Bind to all interfaces (required for Docker port mapping to work)
ACESTEPCPP_HOST=0.0.0.0
ACESTEPCPP_PORT=8085
# CUDA graph optimization (concurrent streams for Q/K/V attention branches)
# Free 7-15% speedup on DiT denoising — 50 identical forward passes = perfect for graphs
GGML_CUDA_GRAPH_OPT=1
# ── Server ──────────────────────────────────────────────────────────
SERVER_PORT=3001
SERVER_HOST=0.0.0.0
# Data directory (bind-mounted from host — SQLite DB + generated audio)
DATA_DIR=/app/server/data
# ── Vite (not used in Docker — UI is pre-built) ────────────────────
# VITE_PORT=3000
# VITE_HOST=0.0.0.0
# ── Lyric Studio (optional — add API keys as needed) ────────────────
# GENIUS_ACCESS_TOKEN=
# GEMINI_API_KEY=
# DEFAULT_LLM_PROVIDER=gemini