x
This commit is contained in:
@@ -41,7 +41,7 @@ services:
|
||||
# --- WebUI(Gradio)---
|
||||
gradio:
|
||||
image: mineru-rocm:7.2.1
|
||||
profiles: ["webui"]
|
||||
profiles: ["gradio"]
|
||||
container_name: mineru-gradio
|
||||
stdin_open: true
|
||||
tty: true
|
||||
@@ -64,7 +64,7 @@ services:
|
||||
- ${OUTPUT_DIR:-./data/output}:/data/output
|
||||
- ${MODEL_DIR:-./data/models}:/opt/models
|
||||
- ${MIOPEN_CACHE:-./data/miopen}:/root/.cache/miopen
|
||||
command: mineru-gradio --server-name 0.0.0.0 --server-port 7860
|
||||
command: ["mineru-gradio --server-name 0.0.0.0 --server-port 7860"]
|
||||
|
||||
# --- API 服务 ---
|
||||
api:
|
||||
@@ -92,4 +92,4 @@ services:
|
||||
- ${OUTPUT_DIR:-./data/output}:/data/output
|
||||
- ${MODEL_DIR:-./data/models}:/opt/models
|
||||
- ${MIOPEN_CACHE:-./data/miopen}:/root/.cache/miopen
|
||||
command: mineru-api --host 0.0.0.0 --port 8000
|
||||
command: ["mineru-api --host 0.0.0.0 --port 8000"]
|
||||
|
||||
Reference in New Issue
Block a user