This commit is contained in:
2026-06-16 10:11:37 +08:00
parent 054962c9d8
commit 697a0dde24
2 changed files with 8 additions and 12 deletions
-6
View File
@@ -20,13 +20,7 @@ services:
- GRADIO_SERVER_NAME=0.0.0.0
- GRADIO_TEMP_DIR=/tmp/gradio
- MINERU_API_BASE=http://mineru-nginx:8000
- MINERU_MODEL_SOURCE=${MINERU_MODEL_SOURCE:-huggingface}
- HF_HUB_CACHE=${HF_HUB_CACHE:-/opt/models/huggingface}
- MODELSCOPE_CACHE=${MODELSCOPE_CACHE:-/opt/models/modelscope}
volumes:
- ${INPUT_DIR:-./data/input}:/data/input:ro
- ${OUTPUT_DIR:-./data/output}:/data/output
- ${MODEL_DIR:-./data/models}:/opt/models
- ./scripts:/opt/scripts:ro
command:
[