Files
vllm-sparce/.env.example
T
opencode 93ddb52bff Pin image tag to v0.30.0, document 'context deadline exceeded'
The failing deploy on a fresh host is almost always the vLLM image pull
(~31 GB unpacked) hitting Portainer's stack deploy timeout. Documented
pre-pulling on the target host plus docker save|load alternative, and
replaced the :latest default with the exact tag this stack was tested on.
2026-10-05 09:01:24 +07:00

26 lines
696 B
Bash

# Values used by docker-compose.yml. Every variable has a default,
# so the stack starts even without this file. In Portainer set the same names
# in the stack's "Environment variables" field instead.
# port on the host
HOST_PORT=8083
# name of the container
CONTAINER_NAME=vllm-bge-sparse-backend
# share of VRAM vLLM may use (0.15 is enough for BAAI/bge-m3: ~2.1 GB)
GPU_MEMORY_UTILIZATION=0.15
MAX_MODEL_LEN=8192
MODEL=BAAI/bge-m3
# version tag, not :latest: the plugin is tied to the vLLM API
VLLM_IMAGE=vllm/vllm-openai:v0.30.0
# model cache on the host
HF_CACHE=/root/.cache/huggingface
# defaults for the /pooling "data" object
BGE_M3_SPARSE_MODE=sparse
BGE_M3_SPARSE_THRESHOLD=0.0