insightface Docker & Self-Hosted Deployment

GitHub

State-of-the-art 2D and 3D Face Analysis Project

RAW Compose
1. Pull Image (DOCKERHUB) docker pull deepinsight/insightface
2. Docker Run (1-Click Launch) docker run -d --name insightface --restart always deepinsight/insightface:latest
3. Podman Run podman run -d --name insightface --restart always deepinsight/insightface:latest
4. Skopeo Inspect (Zero-Pull Manifest) skopeo inspect docker://docker.io/deepinsight/insightface:latest
5. ORAS Pull (OCI Artifact) oras pull deepinsight/insightface:latest
6. Compose Deployment docker compose up -d
cpp-package/inspireface/docker-compose.yml
Download .yml
version: '3'
services:
  build-ubuntu18:
    build:
      context: .
      dockerfile: docker/Dockerfile.ubuntu18 # Use the Ubuntu18.04
    environment:
      - VERSION=${VERSION}
    working_dir: /workspace
    volumes:
      - .:/workspace # Mount the project root directory to the container
    command: bash command/build_linux_ubuntu18.sh
  build-cross-rv1109rv1126-armhf:
    build:
      context: .
      dockerfile: docker/Dockerfile.arm-linux-gnueabihf # Use the arm-linux-gnueabihf tool chain
    environment:
      - VERSION=${VERSION}
    working_dir: /workspace
    volumes:
      - .:/workspace # Mount the project root directory to the container
    command: bash command/build_cross_rv1109rv1126_armhf.sh
  build-cross-armv7-armhf:
    build:
      context: .
      dockerfile: docker/Dockerfile.arm-linux-gnueabihf # Use the arm-linux-gnueabihf tool chain
    environment:
      - VERSION=${VERSION}
    working_dir: /workspace
    volumes:
      - .:/workspace # Mount the project root directory to the container
    command: bash command/build_cross_armv7_armhf.sh
  build-cross-rv1106-armhf-uclibc:
    build:
      context: .
      dockerfile: docker/Dockerfile.arm-linux-rockchip830-armhf-uclibc
    environment:
      - VERSION=${VERSION}
    working_dir: /workspace
    volumes:
      - .:/workspace # Mount the project root directory to the container
    command: bash command/build_cross_rv1106_armhf_uclibc.sh
  build-cross-aarch64:
    build:
      context: .
      dockerfile: docker/Dockerfile.arm-linux-aarch64 # Use the arm-linux-gnueabihf tool chain
    environment:
      - VERSION=${VERSION}
    working_dir: /workspace
    volumes:
      - .:/workspace # Mount the project root directory to the container
    command: bash command/build_cross_aarch64.sh
  build-cross-rk356x-rk3588-aarch64:
    build:
      context: .
      dockerfile: docker/Dockerfile.arm-linux-aarch64 # Use the arm-linux-gnueabihf tool chain
    environment:
      - VERSION=${VERSION}
    working_dir: /workspace
    volumes:
      - .:/workspace # Mount the project root directory to the container
    command: bash command/build_cross_rk356x_rk3588_aarch64.sh
  build-cross-android:
    build:
      context: .
      dockerfile: docker/Dockerfile.android # Use the arm-linux-gnueabihf tool chain
    environment:
      - VERSION=${VERSION}
    working_dir: /workspace
    volumes:
      - .:/workspace # Mount the project root directory to the container
    command: bash command/build_android.sh
  build-cross-android-rk356x-rk3588:
    build:
      context: .
      dockerfile: docker/Dockerfile.android # Use the arm-linux-gnueabihf tool chain
    environment:
      - VERSION=${VERSION}
    working_dir: /workspace
    volumes:
      - .:/workspace # Mount the project root directory to the container
    command: bash command/build_cross_rk356x_rk3588_aarch64.sh
  build-cuda-ubuntu20:
    build:
      context: .
      dockerfile: docker/Dockerfile.cuda.ubuntu20
    environment:
      - VERSION=${VERSION}
    working_dir: /workspace
    volumes:
      - .:/workspace # Mount the project root directory to the container
    command: bash command/build_linux_cuda.sh
  build-manylinux2014-x86:
    build:
      context: .
      dockerfile: docker/Dockerfile.manylinux2014-x86
    environment:
      - VERSION=${VERSION}
    working_dir: /workspace
    volumes:
      - .:/workspace # Mount the project root directory to the container
    command: bash command/build_wheel_manylinux2014_x86.sh
  build-manylinux2014-aarch64:
    build:
      context: .
      dockerfile: docker/Dockerfile.manylinux2014_aarch64
    environment:
      - VERSION=${VERSION}
    working_dir: /workspace
    volumes:
      - .:/workspace # Mount the project root directory to the container
    command: bash command/build_wheel_manylinux2014_aarch64.sh
  build-manylinux_2_36-aarch64:
    build:
      context: .
      dockerfile: docker/Dockerfile.manylinux_2_36_aarch64
    environment:
      - VERSION=${VERSION}
    working_dir: /workspace
    volumes:
      - .:/workspace # Mount the project root directory to the container
    command: bash command/build_wheel_manylinux_2_36_aarch64.sh
  build-tensorrt-cuda12-ubuntu22:
    build:
      context: .
      dockerfile: docker/Dockerfile.cuda12_ubuntu22
    environment:
      - VERSION=${VERSION}
      - CUDA_TAG=cuda12.2_ubuntu22.04
    working_dir: /workspace
    volumes:
      - .:/workspace # Mount the project root directory to the container
    command: bash command/build_linux_tensorrt.sh