ragflow icon indicating copy to clipboard operation
ragflow copied to clipboard

As per the previous response, I have modified the docker-compose.yml file to map the host directory to the container's /root/.ragflow directory to avoid re-downloading models on container restart. My updated configuration is as follows:

Open biofer opened this issue 3 months ago • 0 comments

          As per the previous response, I have modified the docker-compose.yml file to map the host directory to the container's /root/.ragflow directory to avoid re-downloading models on container restart. My updated configuration is as follows:
volumes:
  - ./service_conf.yaml:/ragflow/conf/service_conf.yaml
  - ./ragflow-logs:/ragflow/logs
  - ./nginx/ragflow.conf:/etc/nginx/conf.d/ragflow.conf
  - ./nginx/proxy.conf:/etc/nginx/proxy.conf
  - ./nginx/nginx.conf:/etc/nginx/nginx.conf
  - ../model:/root/.ragflow
image After starting the container, the model files are successfully created inside the container in the `/root/.ragflow` directory. However, the corresponding host directory `../model` remains empty. So, how can I map the files successfully?@yuzhichang image

Originally posted by @biofer in https://github.com/infiniflow/ragflow/issues/3291#issuecomment-2467484033

biofer avatar Nov 12 '24 01:11 biofer