From 19e3889f29e6f6303aa812d9962726c1252df16c Mon Sep 17 00:00:00 2001 From: timothycarambat Date: Sat, 6 Jan 2024 15:38:44 -0800 Subject: [PATCH] update envs to not display https localhost --- .github/workflows/build-and-push-image.yaml | 1 + docker/.env.example | 2 +- server/.env.example | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-push-image.yaml b/.github/workflows/build-and-push-image.yaml index 943af552..6be26613 100644 --- a/.github/workflows/build-and-push-image.yaml +++ b/.github/workflows/build-and-push-image.yaml @@ -8,6 +8,7 @@ on: - 'cloud-deployments/*' - 'images/*' - '.vscode/*' + - '.env.example' jobs: push_to_registries: diff --git a/docker/.env.example b/docker/.env.example index 1a1511f6..9b2b24c3 100644 --- a/docker/.env.example +++ b/docker/.env.example @@ -53,7 +53,7 @@ GID='1000' # EMBEDDING_MODEL_PREF='my-embedder-model' # This is the "deployment" on Azure you want to use for embeddings. Not the base model. Valid base model is text-embedding-ada-002 # EMBEDDING_ENGINE='localai' -# EMBEDDING_BASE_PATH='https://localhost:8080/v1' +# EMBEDDING_BASE_PATH='http://localhost:8080/v1' # EMBEDDING_MODEL_PREF='text-embedding-ada-002' # EMBEDDING_MODEL_MAX_CHUNK_LENGTH=1000 # The max chunk size in chars a string to embed can be diff --git a/server/.env.example b/server/.env.example index 93a1d766..5b159a03 100644 --- a/server/.env.example +++ b/server/.env.example @@ -50,7 +50,7 @@ JWT_SECRET="my-random-string-for-seeding" # Please generate random string at lea # EMBEDDING_MODEL_PREF='my-embedder-model' # This is the "deployment" on Azure you want to use for embeddings. Not the base model. Valid base model is text-embedding-ada-002 # EMBEDDING_ENGINE='localai' -# EMBEDDING_BASE_PATH='https://localhost:8080/v1' +# EMBEDDING_BASE_PATH='http://localhost:8080/v1' # EMBEDDING_MODEL_PREF='text-embedding-ada-002' # EMBEDDING_MODEL_MAX_CHUNK_LENGTH=1000 # The max chunk size in chars a string to embed can be