Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🧹 chore: remove 'MEILI_HTTP_ADDR' #1475

Merged
merged 1 commit into from
Jan 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .devcontainer/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 0 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -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

#===================================================#
Expand Down
2 changes: 0 additions & 2 deletions deploy-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
2 changes: 0 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
1 change: 0 additions & 1 deletion docs/deployment/hetzner_ubuntu.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ HOST=<yourserverip>
```
SEARCH=true
MEILI_HOST=meilisearch
MEILI_HTTP_ADDR=meilisearch
```

### 5. After everything file has been updated, run `docker-compose build` then `docker-compose up`
Expand Down
2 changes: 0 additions & 2 deletions docs/dev/deploy-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
6 changes: 0 additions & 6 deletions docs/install/configuration/dotenv.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion docs/install/installation/container_install.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down
2 changes: 0 additions & 2 deletions docs/install/installation/docker_compose_install.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**.
Expand Down