x
This commit is contained in:
@@ -23,6 +23,7 @@ services:
|
||||
- ${INPUT_DIR:-./data/input}:/data/input:ro
|
||||
- ${OUTPUT_DIR:-./data/output}:/data/output
|
||||
- ${MODEL_DIR:-./data/models}:/opt/models
|
||||
- ./scripts:/opt/scripts:ro
|
||||
command:
|
||||
[
|
||||
"mineru-gradio",
|
||||
@@ -64,6 +65,7 @@ services:
|
||||
- ${OUTPUT_DIR:-./data/output}:/data/output
|
||||
- ${MODEL_DIR:-./data/models}:/opt/models
|
||||
- ${MIOPEN_CACHE:-./data/miopen}:/root/.cache/miopen
|
||||
- ./scripts:/opt/scripts:ro
|
||||
command: ["mineru-api", "--host", "0.0.0.0", "--port", "8001"]
|
||||
|
||||
worker1:
|
||||
@@ -89,6 +91,7 @@ services:
|
||||
- ${OUTPUT_DIR:-./data/output}:/data/output
|
||||
- ${MODEL_DIR:-./data/models}:/opt/models
|
||||
- ${MIOPEN_CACHE:-./data/miopen}:/root/.cache/miopen
|
||||
- ./scripts:/opt/scripts:ro
|
||||
command: ["mineru-api", "--host", "0.0.0.0", "--port", "8002"]
|
||||
|
||||
router:
|
||||
@@ -104,6 +107,7 @@ services:
|
||||
volumes:
|
||||
- ${INPUT_DIR:-./data/input}:/data/input:ro
|
||||
- ${OUTPUT_DIR:-./data/output}:/data/output
|
||||
- ./scripts:/opt/scripts:ro
|
||||
command:
|
||||
[
|
||||
"mineru-router",
|
||||
|
||||
Reference in New Issue
Block a user