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.

850 B
Raw Blame
services:
  milvus:
    image: milvusdb/milvus:v2.4.5@sha256:5a0a330981c925e53efe088a2864f27c33d3347868665ebdf0944c917bcb8c85
    container_name: ods-milvus
    ports:
      - "127.0.0.1:${MILVUS_PORT:-19530}:19530"
      - "127.0.0.1:9091:9091"
    volumes:
      - ./data/milvus:/var/lib/milvus
    environment:
      - MODE=standalone
      - ETCD_USE_EMBED=true
      - COMMON_STORAGETYPE=local
    command: ["milvus", "run", "standalone"]
    restart: unless-stopped
    security_opt:
      - no-new-privileges:true
    deploy:
      resources:
        limits:
          cpus: '2'
          memory: 8G
    healthcheck:
      test: ["CMD", "curl", "-f", "http://127.0.0.1:9091/healthz"]
      interval: 30s
      timeout: 10s
      retries: 3
      start_period: 60s
    networks:
      - ods-network

networks:
  ods-network:
    external: true