mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-07 12:00:44 +08:00
Refactor: migrate pdf_parser.py to golang (#16323)
### What problem does this PR solve? Http API based on onnx model. pdf_parser.py to golang ### Type of change - [x] Refactoring
This commit is contained in:
@@ -2,10 +2,28 @@ include:
|
||||
- ./docker-compose-base.yml
|
||||
# To ensure that the container processes the locally modified `service_conf.yaml.template` instead of the one included in its image, you need to mount the local `service_conf.yaml.template` to the container.
|
||||
services:
|
||||
deepdoc:
|
||||
image: ${DEEPDOC_IMAGE:-deepdoc_oss:latest}
|
||||
profiles:
|
||||
- deepdoc
|
||||
build:
|
||||
context: ..
|
||||
dockerfile: Dockerfile_deepdoc_oss
|
||||
networks:
|
||||
- ragflow
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:9390/health"]
|
||||
interval: 10s
|
||||
timeout: 10s
|
||||
retries: 60
|
||||
|
||||
ragflow-cpu:
|
||||
depends_on:
|
||||
mysql:
|
||||
condition: service_healthy
|
||||
deepdoc:
|
||||
condition: service_healthy
|
||||
profiles:
|
||||
- cpu
|
||||
image: ${RAGFLOW_IMAGE}
|
||||
@@ -57,6 +75,8 @@ services:
|
||||
depends_on:
|
||||
mysql:
|
||||
condition: service_healthy
|
||||
deepdoc:
|
||||
condition: service_healthy
|
||||
profiles:
|
||||
- gpu
|
||||
image: ${RAGFLOW_IMAGE}
|
||||
|
||||
Reference in New Issue
Block a user