Skip to content

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: #3342

Closed
@biofer

Description

@biofer
          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 #3291 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions