ACE-Step Docker & Self-Hosted Deployment

GitHub

ACE-Step: A Step Towards Music Generation Foundation Model

4,969 stars Python Python 1 file ยท ~4,577 tokens
RAW Compose
1. Pull Image (DOCKERHUB) docker pull ace-step/ace-step
2. Docker Run (1-Click Launch) docker run -d --name ace-step -p 7865:7865 --restart always ace-step/ace-step:latest
3. Podman Run podman run -d --name ace-step -p 7865:7865 --restart always ace-step/ace-step:latest
4. Skopeo Inspect (Zero-Pull Manifest) skopeo inspect docker://docker.io/ace-step/ace-step:latest
5. ORAS Pull (OCI Artifact) oras pull ace-step/ace-step:latest
6. Compose Deployment docker compose up -d
docker-compose.yaml
Download .yml

services:
  &name ace-step:
    build:
      context: https://github.com/ace-step/ACE-Step.git
      dockerfile: Dockerfile
    container_name: *name
    hostname: *name
    stop_grace_period: 2s
    ports:
      - "7865:7865"
    volumes:
      - ./checkpoints:/app/checkpoints
      - ./outputs:/app/outputs
      - ./logs:/app/logs
    environment:
      - ACE_OUTPUT_DIR=/app/outputs
    # command: python app.py --server_name 0.0.0.0 --port 7865 --share False --bf16 True --torch_compile True --device-id 0
    healthcheck:
      test: ["CMD", "curl", "-f", "http://localhost:7865/"]
      interval: 60s
      timeout: 10s
      retries: 30
      start_period: 3s
    restart: unless-stopped
    runtime: nvidia
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: all
              capabilities: ["compute", "utility", "graphics", "video"]