1 Star 0 Fork 0

flashpig8014/rag_api

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
docker-compose.override.yml.example 1.42 KB
一键复制 编辑 原始数据 按行查看 历史
bsu3338 提交于 2024-03-26 08:03 +08:00 . 🦙 feat: HuggingFace TEI and Ollama (#6)
version: '3.4'
# TO USE THIS FILE, FIRST UNCOMMENT THE LINE ('services:')
# THEN UNCOMMENT ONLY THE SECTION OR SECTIONS CONTAINING THE CHANGES YOU WANT TO APPLY
# SAVE THIS FILE AS 'docker-compose.override.yaml'
# See https://ollama.com/library
# for list of supported embedding modules
# Need to run "docker exec -it ollama /bin/bash" and "ollama run nomic-embed-text"
# after starting the Ollama service
# services:
# ollama:
# container_name: ollama
# image: ollama/ollama
# deploy:
# resources:
# reservations:
# devices:
# - driver: nvidia
# capabilities: [compute, utility]
# healthcheck:
# test: ollama --version || exit 1
# interval: 1s
# ports:
# - "11434:11434"
# volumes:
# - ./ollama:/root/.ollama
# See https://github.com/huggingface/text-embeddings-inference?tab=readme-ov-file#docker-images
# for additional options like cpu only images and other model options
# huggingfacetei:
# image: ghcr.io/huggingface/text-embeddings-inference:1.1.0
# platform: linux/amd64
# deploy:
# resources:
# reservations:
# devices:
# - driver: nvidia
# count: 1
# capabilities: [gpu]
# command: --model-id nomic-ai/nomic-embed-text-v1.5
# ports:
# - "3000:3000"
# environment:
# - CORS_ALLOW_ORIGIN=http://0.0.0.0:3000
# - PORT=3000
# volumes:
# - ./embedding:/data
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/flashpig8014/rag_api.git
git@gitee.com:flashpig8014/rag_api.git
flashpig8014
rag_api
rag_api
Berry-13-custom-host-port

搜索帮助