All checks were successful
Deploy mindnet to llm-node / deploy (push) Successful in 3s
14 lines
457 B
YAML
14 lines
457 B
YAML
version: "3.9"
|
|
services:
|
|
embed:
|
|
image: python:3.11-slim
|
|
container_name: mindnet-embed
|
|
working_dir: /srv
|
|
volumes:
|
|
- ../app:/srv # mappt app/ ins Container-Arbeitsverzeichnis
|
|
command: bash -lc "pip install --no-cache-dir fastapi==0.111.0 uvicorn==0.30.1 sentence-transformers==3.0.1 && uvicorn embed_server:app --host 0.0.0.0 --port 8990"
|
|
ports:
|
|
- "8990:8990"
|
|
environment:
|
|
- TRANSFORMERS_CACHE=/srv/.hf_cache
|