mirror of
https://github.com/pooneyy/1Panel-Appstore.git
synced 2026-03-22 21:09:40 +08:00
* chore(deps): update vllm/vllm-openai docker tag to v0.9.0 * Update app version [skip ci] --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: github-action update-app-version <githubaction@githubaction.com>
28 lines
644 B
YAML
28 lines
644 B
YAML
services:
|
|
vllm:
|
|
image: vllm/vllm-openai:v0.9.0
|
|
container_name: ${CONTAINER_NAME}
|
|
restart: always
|
|
runtime: nvidia
|
|
deploy:
|
|
resources:
|
|
reservations:
|
|
devices:
|
|
- driver: nvidia
|
|
count: all
|
|
capabilities: [gpu]
|
|
networks:
|
|
- 1panel-network
|
|
volumes:
|
|
- ./cache/huggingface:/root/.cache/huggingface
|
|
environment:
|
|
HUGGING_FACE_HUB_TOKEN: ${HUGGING_FACE_HUB_TOKEN}
|
|
HF_ENDPOINT: https://hf-mirror.com
|
|
ports:
|
|
- ${PANEL_APP_PORT_HTTP}:8000
|
|
ipc: host
|
|
command: --model ${MODEL}
|
|
networks:
|
|
1panel-network:
|
|
external: true
|