Skip to content

armgit / ODS

Public Imported from GitHub
0

ODS V3 Pre-Release: Public testing and refinement ahead of the official V3 launch. Turn your PC, Mac, or Linux box into a private AI server.

884 B
Raw Blame
services:
  invokeai:
    image: ghcr.io/invoke-ai/invokeai:v6.11.1-cpu@sha256:87b038258293f2bafa63d64f14906deeb40d32a563f7236f1be9679b7200d3a6
    container_name: ods-invokeai
    restart: unless-stopped
    security_opt:
      - no-new-privileges:true
    environment:
      - INVOKEAI_ROOT=/invokeai
    volumes:
      - ./data/invokeai:/invokeai:rw
    ports:
      - "127.0.0.1:${INVOKEAI_PORT:-9090}:9090"
    healthcheck:
      test: ["CMD", "python3", "-c", "import urllib.request; urllib.request.urlopen('http://127.0.0.1:9090/api/v1/app/version', timeout=5)"]
      interval: 30s
      timeout: 10s
      retries: 3
      start_period: 120s
    networks:
      - ods-network
    deploy:
      resources:
        limits:
          cpus: '4.0'
          memory: 16G
        reservations:
          cpus: '1.0'
          memory: 4G

networks:
  ods-network:
    external: true