Ollama service with bge-m3 for embeddings (M1, internal network only)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -14,3 +14,4 @@ solr_cores_stage/
|
||||
AGENTS.md
|
||||
.vibe/
|
||||
var_solr9/
|
||||
var_ollama/
|
||||
|
||||
@@ -90,6 +90,18 @@ services:
|
||||
ports:
|
||||
- 8986:8983
|
||||
|
||||
# Modèle d'embedding bge-m3 servi par Ollama (projet recherche IA, M1).
|
||||
# Pas de port publié : joignable seulement depuis php (réseau ollama), http://ollama:11434
|
||||
ollama:
|
||||
image: ollama/ollama:0.40.16
|
||||
environment:
|
||||
# garde le modèle chargé en mémoire (pas de rechargement à froid entre deux appels)
|
||||
- OLLAMA_KEEP_ALIVE=-1
|
||||
volumes:
|
||||
- ./var_ollama:/root/.ollama
|
||||
networks:
|
||||
- ollama
|
||||
|
||||
# solr-legacy:
|
||||
# build: ./Docker/solr-legacy/
|
||||
# volumes:
|
||||
@@ -119,6 +131,7 @@ services:
|
||||
- redis
|
||||
- server
|
||||
- solr
|
||||
- ollama
|
||||
# for xdebug
|
||||
# https://github.com/docker/for-linux/issues/264#issuecomment-965465879
|
||||
extra_hosts:
|
||||
@@ -130,6 +143,7 @@ services:
|
||||
- redis
|
||||
- solr
|
||||
- solr9
|
||||
- ollama
|
||||
|
||||
# php-legacy:
|
||||
# build: ./Docker/php-legacy/
|
||||
@@ -221,3 +235,4 @@ networks:
|
||||
redis:
|
||||
server:
|
||||
solr:
|
||||
ollama:
|
||||
|
||||
Reference in New Issue
Block a user