From d26eeb336760d9fde0e72e9d8e80bb0ecd46b976 Mon Sep 17 00:00:00 2001 From: lexluo09 <39718951+lexluo09@users.noreply.github.com> Date: Mon, 1 Jul 2024 17:13:05 +0800 Subject: [PATCH] (improvement)(build) Support passing the version as a variable in the docker-compose.yml file. (#1313) --- docker/docker-compose.yml | 4 ++-- .../src/main/resources/langchain4j-local.yaml | 20 +++++++++---------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 33dffdb16..3f970ba93 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -20,7 +20,7 @@ services: - 8.8.4.4 db_init: - image: supersonicbi/supersonic:0.9.2-SNAPSHOT + image: supersonicbi/supersonic:${SUPERSONIC_VERSION:-latest} container_name: supersonic_db_init depends_on: - mysql @@ -56,7 +56,7 @@ services: - 8.8.4.4 supersonic_standalone: - image: supersonicbi/supersonic:0.9.2-SNAPSHOT + image: supersonicbi/supersonic:${SUPERSONIC_VERSION:-latest} container_name: supersonic_standalone environment: DB_HOST: supersonic_mysql diff --git a/launchers/standalone/src/main/resources/langchain4j-local.yaml b/launchers/standalone/src/main/resources/langchain4j-local.yaml index e25dd9cb0..f0573990f 100644 --- a/launchers/standalone/src/main/resources/langchain4j-local.yaml +++ b/launchers/standalone/src/main/resources/langchain4j-local.yaml @@ -24,19 +24,19 @@ langchain4j: embedding-model: model-name: bge-small-zh -# embedding-store: -# persist-path: /tmp + embedding-store: + persist-path: /tmp # chroma: # embedding-store: # baseUrl: http://0.0.0.0:8000 # timeout: 120s - milvus: - embedding-store: - host: localhost - port: 2379 - uri: http://0.0.0.0:19530 - token: demo - dimension: 512 - timeout: 120s \ No newline at end of file +# milvus: +# embedding-store: +# host: localhost +# port: 2379 +# uri: http://0.0.0.0:19530 +# token: demo +# dimension: 512 +# timeout: 120s \ No newline at end of file