Browse Source

feat: 本地镜像支持

biheng 2 months ago
parent
commit
f59902095f
1 changed files with 119 additions and 0 deletions
  1. 119 0
      docker/docker-compose.override.yaml

+ 119 - 0
docker/docker-compose.override.yaml

@@ -0,0 +1,119 @@
+services:
+  # API service
+  api:
+    image: registry.cn-shenzhen.aliyuncs.com/wunding-base/langgenius_dify-api:0.15.3
+    volumes:
+      - /etc/mime.types:/etc/mime.types  # 支持各种文件上传
+
+  # worker service
+  # The Celery worker for processing the queue.
+  worker:
+    image: registry.cn-shenzhen.aliyuncs.com/wunding-base/langgenius_dify-api:0.15.3
+    volumes:
+      - /etc/mime.types:/etc/mime.types  # 支持各种文件上传
+
+  # Frontend web application.
+  web:
+    image: registry.cn-shenzhen.aliyuncs.com/wunding-base/langgenius_dify-web:0.15.3
+
+  # The postgres database.
+  db:
+    image: registry.cn-shenzhen.aliyuncs.com/wunding-base/postgres:15-alpine
+
+  # The redis cache.
+  redis:
+    image: registry.cn-shenzhen.aliyuncs.com/wunding-base/redis:6-alpine
+
+  # The DifySandbox
+  sandbox:
+    image: registry.cn-shenzhen.aliyuncs.com/wunding-base/langgenius_dify-sandbox:0.2.10
+
+  # ssrf_proxy server
+  # for more information, please refer to
+  # https://docs.dify.ai/learn-more/faq/install-faq#id-18.-why-is-ssrf_proxy-needed
+  ssrf_proxy:
+    image: registry.cn-shenzhen.aliyuncs.com/wunding-base/ubuntu_squid:latest
+
+  # Certbot service
+  # use `docker-compose --profile certbot up` to start the certbot service.
+  certbot:
+    image: certbot/certbot
+
+  # The nginx reverse proxy.
+  # used for reverse proxying the API service and Web service.
+  nginx:
+    image: registry.cn-shenzhen.aliyuncs.com/wunding-base/nginx:latest
+
+  # The TiDB vector store.
+  # For production use, please refer to https://github.com/pingcap/tidb-docker-compose
+  tidb:
+    image: pingcap/tidb:v8.4.0
+
+  # The Weaviate vector store.
+  weaviate:
+    image: semitechnologies/weaviate:1.19.0
+
+  # Qdrant vector store.
+  # (if used, you need to set VECTOR_STORE to qdrant in the api & worker service.)
+  qdrant:
+    image: langgenius/qdrant:v1.7.3
+
+  # The Couchbase vector store.
+  couchbase-server:
+    build: ./couchbase-server
+
+  # The pgvector vector database.
+  pgvector:
+    image: pgvector/pgvector:pg16
+
+  # pgvecto-rs vector store
+  pgvecto-rs:
+    image: tensorchord/pgvecto-rs:pg16-v0.3.0
+
+  # Chroma vector database
+  chroma:
+    image: ghcr.io/chroma-core/chroma:0.5.20
+
+  # OceanBase vector database
+  oceanbase:
+    image: quay.io/oceanbase/oceanbase-ce:4.3.3.0-100000142024101215
+
+  # Oracle vector database
+  oracle:
+    image: container-registry.oracle.com/database/free:latest
+
+  # Milvus vector database services
+  etcd:
+    image: quay.io/coreos/etcd:v3.5.5
+
+  minio:
+    image: minio/minio:RELEASE.2023-03-20T20-16-18Z
+
+  milvus-standalone:
+    image: milvusdb/milvus:v2.5.0-beta
+
+  # Opensearch vector database
+  opensearch:
+    image: opensearchproject/opensearch:latest
+
+  opensearch-dashboards:
+    image: opensearchproject/opensearch-dashboards:latest
+
+  # MyScale vector database
+  myscale:
+    image: myscale/myscaledb:1.6.4
+
+  # https://www.elastic.co/guide/en/elasticsearch/reference/current/settings.html
+  # https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html#docker-prod-prerequisites
+  elasticsearch:
+    image: docker.elastic.co/elasticsearch/elasticsearch:8.14.3
+
+  # https://www.elastic.co/guide/en/kibana/current/docker.html
+  # https://www.elastic.co/guide/en/kibana/current/settings.html
+  kibana:
+    image: docker.elastic.co/kibana/kibana:8.14.3
+
+  # unstructured .
+  # (if used, you need to set ETL_TYPE to Unstructured in the api & worker service.)
+  unstructured:
+    image: downloads.unstructured.io/unstructured-io/unstructured-api:latest