Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Remove opencloud9 support, since Go version is released (#20674)

Jin Hai5cc35c229d3b
diff --git a/Dockerfile.scratch.oc9 b/Dockerfile.scratch.oc9
deleted file mode 100644
index 64424735e8..0000000000
--- a/Dockerfile.scratch.oc9
+++ /dev/null
@@ -1,61 +0,0 @@
-FROM opencloudos/opencloudos:9.0
-USER root
-
-WORKDIR /ragflow
-
-RUN dnf update -y && dnf install -y wget curl gcc-c++ openmpi-devel
-
-RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh && \
- bash ~/miniconda.sh -b -p /root/miniconda3 && \
- rm ~/miniconda.sh && ln -s /root/miniconda3/etc/profile.d/conda.sh /etc/profile.d/conda.sh && \
- echo ". /root/miniconda3/etc/profile.d/conda.sh" >> ~/.bashrc && \
- echo "conda activate base" >> ~/.bashrc
-
-ENV PATH /root/miniconda3/bin:$PATH
-
-RUN conda create -y --name py11 python=3.11
-
-ENV CONDA_DEFAULT_ENV py11
-ENV CONDA_PREFIX /root/miniconda3/envs/py11
-ENV PATH $CONDA_PREFIX/bin:$PATH
-
-# RUN curl -sL https://rpm.nodesource.com/setup_14.x | bash -
-RUN dnf install -y nodejs
-
-RUN dnf install -y nginx
-
-ADD ./web ./web
-ADD ./api ./api
-ADD ./docs ./docs
-ADD ./conf ./conf
-ADD ./deepdoc ./deepdoc
-ADD ./rag ./rag
-ADD ./requirements.txt ./requirements.txt
-ADD ./agent ./agent
-ADD ./graphrag ./graphrag
-ADD ./plugin ./plugin
-
-RUN dnf install -y openmpi openmpi-devel python3-openmpi
-ENV C_INCLUDE_PATH /usr/include/openmpi-x86_64:$C_INCLUDE_PATH
-ENV LD_LIBRARY_PATH /usr/lib64/openmpi/lib:$LD_LIBRARY_PATH
-RUN rm /root/miniconda3/envs/py11/compiler_compat/ld
-RUN cd ./web && npm i && npm run build
-RUN conda run -n py11 pip install $(grep -ivE "mpi4py" ./requirements.txt) # without mpi4py==3.1.5
-RUN conda run -n py11 pip install redis
-
-RUN dnf update -y && \
- dnf install -y glib2 mesa-libGL && \
- dnf clean all
-
-RUN conda run -n py11 pip install ollama
-RUN conda run -n py11 python -m nltk.downloader punkt
-RUN conda run -n py11 python -m nltk.downloader wordnet
-
-ENV PYTHONPATH=/ragflow/
-ENV HF_ENDPOINT=https://hf-mirror.com
-
-COPY docker/service_conf.yaml.template ./conf/service_conf.yaml.template
-ADD docker/entrypoint.sh ./entrypoint.sh
-RUN chmod +x ./entrypoint.sh
-
-ENTRYPOINT ["./entrypoint.sh"]
diff --git a/docker/README.md b/docker/README.md
index d9a313cbfd..73f4681f18 100644
--- a/docker/README.md
+++ b/docker/README.md
@@ -21,7 +21,7 @@ The Go image runs the API, Admin, Ingestor, and Syncer modes from the single `bi
- **docker-compose-base.yml**
Defines the dependency services. The default Go profile uses Elasticsearch, MySQL, MinIO, Kvrocks, NATS, and ClickHouse. Other document engines and metadata databases are selected through `.env`.
-> **Note:** `docker-compose-CN-oc9.yml` and `docker-compose-macos.yml` are not the Go deployment entry points. Use `docker-compose.yml` on a Linux x86-64 host; macOS is temporarily not supported by the Go backend.
+> **Note:** `docker-compose-macos.yml` are not the Go deployment entry points. Use `docker-compose.yml` on a Linux x86-64 host; macOS is temporarily not supported by the Go backend.
### Quick start
diff --git a/docker/docker-compose-CN-oc9.yml b/docker/docker-compose-CN-oc9.yml
deleted file mode 100644
index c07a53b5d1..0000000000
--- a/docker/docker-compose-CN-oc9.yml
+++ /dev/null
@@ -1,64 +0,0 @@
-# The RAGFlow team do not actively maintain docker-compose-CN-oc9.yml, so use them at your own risk.
-# However, you are welcome to file a pull request to improve it.
-include:
- - ./docker-compose-base.yml
-
-services:
- ragflow-cpu:
- depends_on:
- mysql:
- condition: service_healthy
- required: false
- profiles:
- - cpu
- image: edwardelric233/ragflow:oc9
- ports:
- - ${SVR_HTTP_PORT}:9380
- - 80:80
- - 443:443
- volumes:
- - ./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
- env_file: .env
- networks:
- - ragflow
- restart: unless-stopped
- # https://docs.docker.com/engine/daemon/prometheus/#create-a-prometheus-configuration
- # If you're using Docker Desktop, the --add-host flag is optional. This flag makes sure that the host's internal IP gets exposed to the Prometheus container.
- extra_hosts:
- - "host.docker.internal:host-gateway"
-
- ragflow-gpu:
- depends_on:
- mysql:
- condition: service_healthy
- required: false
- profiles:
- - gpu
- image: edwardelric233/ragflow:oc9
- ports:
- - ${SVR_HTTP_PORT}:9380
- - 80:80
- - 443:443
- volumes:
- - ./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
- env_file: .env
- networks:
- - ragflow
- restart: unless-stopped
- # https://docs.docker.com/engine/daemon/prometheus/#create-a-prometheus-configuration
- # If you're using Docker Desktop, the --add-host flag is optional. This flag makes sure that the host's internal IP gets exposed to the Prometheus container.
- extra_hosts:
- - "host.docker.internal:host-gateway"
- deploy:
- resources:
- reservations:
- devices:
- - driver: nvidia
- count: all
- capabilities: [gpu]