CorridorKey Docker & Self-Hosted Deployment

GitHub

Perfect Green Screen Keys

14,848 stars Python Python 1 file ยท ~10,786 tokens
RAW Compose
1. Pull Image (DOCKERHUB) docker pull library/corridorkey
2. Docker Run (1-Click Launch) docker run -d --name corridorkey --restart always corridorkey:latest
3. Podman Run podman run -d --name corridorkey --restart always corridorkey:latest
4. Skopeo Inspect (Zero-Pull Manifest) skopeo inspect docker://docker.io/library/corridorkey:latest
5. ORAS Pull (OCI Artifact) oras pull corridorkey:latest
6. Compose Deployment docker compose up -d
docker-compose.yml
Download .yml
services:
  corridorkey:
    profiles: ["gpu"]
    build:
      context: .
      dockerfile: Dockerfile
    image: corridorkey:latest
    gpus: ${CK_GPUS:-all}
    environment:
      - OPENCV_IO_ENABLE_OPENEXR=1
      # Use "all", "0", "1", or CSV like "0,1" for multi-GPU pinning.
      - NVIDIA_VISIBLE_DEVICES=${NVIDIA_VISIBLE_DEVICES:-all}
      # Add graphics if needed for GUI/OpenGL workloads.
      - NVIDIA_DRIVER_CAPABILITIES=${NVIDIA_DRIVER_CAPABILITIES:-compute,utility,video}
    volumes:
      - ./ClipsForInference:/app/ClipsForInference
      - ./Output:/app/Output
      - ./CorridorKeyModule/checkpoints:/app/CorridorKeyModule/checkpoints
      - ./gvm_core/weights:/app/gvm_core/weights
      - ./VideoMaMaInferenceModule/checkpoints:/app/VideoMaMaInferenceModule/checkpoints
    stdin_open: true
    tty: true

  corridorkey-cpu:
    profiles: ["cpu"]
    build:
      context: .
      dockerfile: Dockerfile
    image: corridorkey:latest
    volumes:
      - ./ClipsForInference:/app/ClipsForInference
      - ./Output:/app/Output
      - ./CorridorKeyModule/checkpoints:/app/CorridorKeyModule/checkpoints
      - ./gvm_core/weights:/app/gvm_core/weights
      - ./VideoMaMaInferenceModule/checkpoints:/app/VideoMaMaInferenceModule/checkpoints
    stdin_open: true
    tty: true