Browse Source

Chores: add missing profile for middleware docker compose cmd and fix ssrf-proxy doc link (#6372)

Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Vico Chu 8 months ago
parent
commit
fb5e3662d5
2 changed files with 3 additions and 2 deletions
  1. 2 1
      api/README.md
  2. 1 1
      docker/docker-compose.middleware.yaml

+ 2 - 1
api/README.md

@@ -12,7 +12,8 @@
    ```bash
    cd ../docker
    cp middleware.env.example middleware.env
-   docker compose -f docker-compose.middleware.yaml -p dify up -d
+   # change the profile to other vector database if you are not using weaviate
+   docker compose -f docker-compose.middleware.yaml --profile weaviate -p dify up -d
    cd ../api
    ```
 

+ 1 - 1
docker/docker-compose.middleware.yaml

@@ -48,7 +48,7 @@ services:
 
   # ssrf_proxy server
   # for more information, please refer to
-  # https://docs.dify.ai/getting-started/install-self-hosted/install-faq#id-16.-why-is-ssrf_proxy-needed
+  # https://docs.dify.ai/learn-more/faq/self-host-faq#id-18.-why-is-ssrf_proxy-needed
   ssrf_proxy:
     image: ubuntu/squid:latest
     restart: always