From d3dc238dcd188d2332cc01209ef393bfadec722c Mon Sep 17 00:00:00 2001 From: fuegovic <32828263+fuegovic@users.noreply.github.com> Date: Tue, 2 Jan 2024 12:07:09 -0500 Subject: [PATCH] remove 'MEILI_HTTP_ADDR' --- .devcontainer/docker-compose.yml | 1 - .env.example | 1 - deploy-compose.yml | 2 -- docker-compose.yml | 2 -- docs/deployment/hetzner_ubuntu.md | 1 - docs/dev/deploy-compose.yml | 2 -- docs/install/configuration/dotenv.md | 6 ------ docs/install/installation/container_install.md | 1 - docs/install/installation/docker_compose_install.md | 2 -- 9 files changed, 18 deletions(-) diff --git a/.devcontainer/docker-compose.yml b/.devcontainer/docker-compose.yml index fd2a759b99b..c67fca63019 100644 --- a/.devcontainer/docker-compose.yml +++ b/.devcontainer/docker-compose.yml @@ -57,7 +57,6 @@ services: # ports: # - 7700:7700 # if exposing these ports, make sure your master key is not the default value environment: - - MEILI_HTTP_ADDR=meilisearch:7700 - MEILI_NO_ANALYTICS=true - MEILI_MASTER_KEY=5c71cf56d672d009e36070b5bc5e47b743535ae55c818ae3b735bb6ebfb4ba63 volumes: diff --git a/.env.example b/.env.example index 22b7743e0d0..4c3900d9c1f 100644 --- a/.env.example +++ b/.env.example @@ -177,7 +177,6 @@ ZAPIER_NLA_API_KEY= SEARCH=true MEILI_NO_ANALYTICS=true MEILI_HOST=http://0.0.0.0:7700 -MEILI_HTTP_ADDR=0.0.0.0:7700 MEILI_MASTER_KEY=DrhYf7zENyR6AlUCKmnz0eYASOQdl6zxH7s7MKFSfFCt #===================================================# diff --git a/deploy-compose.yml b/deploy-compose.yml index dcad325e6f1..e811578bdee 100644 --- a/deploy-compose.yml +++ b/deploy-compose.yml @@ -21,7 +21,6 @@ services: - NODE_ENV=production - MONGO_URI=mongodb://mongodb:27017/LibreChat - MEILI_HOST=http://meilisearch:7700 - - MEILI_HTTP_ADDR=meilisearch:7700 volumes: - ./images:/app/client/public/images client: @@ -56,7 +55,6 @@ services: - .env environment: - MEILI_HOST=http://meilisearch:7700 - - MEILI_HTTP_ADDR=meilisearch:7700 - MEILI_NO_ANALYTICS=true volumes: - ./meili_data:/meili_data diff --git a/docker-compose.yml b/docker-compose.yml index 5f7fb0b77f2..1c5c9f951f3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -24,7 +24,6 @@ services: - HOST=0.0.0.0 - MONGO_URI=mongodb://mongodb:27017/LibreChat - MEILI_HOST=http://meilisearch:7700 - - MEILI_HTTP_ADDR=meilisearch:7700 volumes: - /app/client/node_modules - /app/api/node_modules @@ -50,7 +49,6 @@ services: user: "${UID}:${GID}" environment: - MEILI_HOST=http://meilisearch:7700 - - MEILI_HTTP_ADDR=meilisearch:7700 - MEILI_NO_ANALYTICS=true volumes: - ./meili_data_v1.5:/meili_data diff --git a/docs/deployment/hetzner_ubuntu.md b/docs/deployment/hetzner_ubuntu.md index ba851ef6658..286a82cdc5c 100644 --- a/docs/deployment/hetzner_ubuntu.md +++ b/docs/deployment/hetzner_ubuntu.md @@ -125,7 +125,6 @@ HOST= ``` SEARCH=true MEILI_HOST=meilisearch -MEILI_HTTP_ADDR=meilisearch ``` ### 5. After everything file has been updated, run `docker-compose build` then `docker-compose up` diff --git a/docs/dev/deploy-compose.yml b/docs/dev/deploy-compose.yml index 0971d8368fd..6db6f9bb6a6 100644 --- a/docs/dev/deploy-compose.yml +++ b/docs/dev/deploy-compose.yml @@ -16,7 +16,6 @@ services: - HOST=0.0.0.0 - MONGO_URI=mongodb://mongodb:27017/LibreChat - MEILI_HOST=http://meilisearch:7700 - - MEILI_HTTP_ADDR=meilisearch:7700 client: image: client ports: @@ -43,7 +42,6 @@ services: - .env environment: - MEILI_HOST=http://meilisearch:7700 - - MEILI_HTTP_ADDR=meilisearch:7700 - MEILI_NO_ANALYTICS=true volumes: - ./meili_data:/meili_data diff --git a/docs/install/configuration/dotenv.md b/docs/install/configuration/dotenv.md index 5eda7ba3f7b..5df5f8b8839 100644 --- a/docs/install/configuration/dotenv.md +++ b/docs/install/configuration/dotenv.md @@ -467,12 +467,6 @@ For the API server to connect to the search server. Replace '0.0.0.0' with 'meil MEILI_HOST=http://0.0.0.0:7700 ``` -MeiliSearch HTTP Address, mainly for docker-compose to expose the search server. Replace '0.0.0.0' with 'meilisearch' if serving MeiliSearch with docker-compose. - -```bash -MEILI_HTTP_ADDR=0.0.0.0:7700 -``` - This master key must be at least 16 bytes, composed of valid UTF-8 characters. MeiliSearch will throw an error and refuse to launch if no master key is provided or if it is under 16 bytes. MeiliSearch will suggest a secure autogenerated master key. This is a ready made secure key for docker-compose, you can replace it with your own. ```bash diff --git a/docs/install/installation/container_install.md b/docs/install/installation/container_install.md index 5f47f1e44cd..fc7cb367bc0 100644 --- a/docs/install/installation/container_install.md +++ b/docs/install/installation/container_install.md @@ -55,7 +55,6 @@ Follow [this guide](../configuration/ai_setup.md) to populate the containers wit HOST=0.0.0.0 MONGO_URI=mongodb://librechat-mongodb:27017/LibreChat MEILI_HOST=http://librechat-meilisearch:7700 -MEILI_HTTP_ADDR=librechat-meilisearch:7700 MEILI_NO_ANALYTICS=true ``` diff --git a/docs/install/installation/docker_compose_install.md b/docs/install/installation/docker_compose_install.md index c0f9864839d..d42f38799fe 100644 --- a/docs/install/installation/docker_compose_install.md +++ b/docs/install/installation/docker_compose_install.md @@ -107,13 +107,11 @@ For more info see: - MONGO_URI=mongodb://mongodb:27017/LibreChat # ... - MEILI_HOST=http://meilisearch:7700 - - MEILI_HTTP_ADDR=meilisearch:7700 # ... env_file: - .env environment: - MEILI_HOST=http://meilisearch:7700 - - MEILI_HTTP_ADDR=meilisearch:7700 ``` - If for some reason you're not able to build the app image, you can pull the latest image from **Dockerhub**.