(improvement)(build) Support passing the version as a variable in the docker-compose.yml file. (#1313)

This commit is contained in:
lexluo09
2024-07-01 17:13:05 +08:00
committed by GitHub
parent e6ec689cb1
commit d26eeb3367
2 changed files with 12 additions and 12 deletions

View File

@@ -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

View File

@@ -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
# milvus:
# embedding-store:
# host: localhost
# port: 2379
# uri: http://0.0.0.0:19530
# token: demo
# dimension: 512
# timeout: 120s