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
|
AGENTS.md
|
||||||
.vibe/
|
.vibe/
|
||||||
var_solr9/
|
var_solr9/
|
||||||
|
var_ollama/
|
||||||
|
|||||||
@@ -90,6 +90,18 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- 8986:8983
|
- 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:
|
# solr-legacy:
|
||||||
# build: ./Docker/solr-legacy/
|
# build: ./Docker/solr-legacy/
|
||||||
# volumes:
|
# volumes:
|
||||||
@@ -119,6 +131,7 @@ services:
|
|||||||
- redis
|
- redis
|
||||||
- server
|
- server
|
||||||
- solr
|
- solr
|
||||||
|
- ollama
|
||||||
# for xdebug
|
# for xdebug
|
||||||
# https://github.com/docker/for-linux/issues/264#issuecomment-965465879
|
# https://github.com/docker/for-linux/issues/264#issuecomment-965465879
|
||||||
extra_hosts:
|
extra_hosts:
|
||||||
@@ -130,6 +143,7 @@ services:
|
|||||||
- redis
|
- redis
|
||||||
- solr
|
- solr
|
||||||
- solr9
|
- solr9
|
||||||
|
- ollama
|
||||||
|
|
||||||
# php-legacy:
|
# php-legacy:
|
||||||
# build: ./Docker/php-legacy/
|
# build: ./Docker/php-legacy/
|
||||||
@@ -221,3 +235,4 @@ networks:
|
|||||||
redis:
|
redis:
|
||||||
server:
|
server:
|
||||||
solr:
|
solr:
|
||||||
|
ollama:
|
||||||
|
|||||||
Reference in New Issue
Block a user