(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 - 8.8.4.4
db_init: db_init:
image: supersonicbi/supersonic:0.9.2-SNAPSHOT image: supersonicbi/supersonic:${SUPERSONIC_VERSION:-latest}
container_name: supersonic_db_init container_name: supersonic_db_init
depends_on: depends_on:
- mysql - mysql
@@ -56,7 +56,7 @@ services:
- 8.8.4.4 - 8.8.4.4
supersonic_standalone: supersonic_standalone:
image: supersonicbi/supersonic:0.9.2-SNAPSHOT image: supersonicbi/supersonic:${SUPERSONIC_VERSION:-latest}
container_name: supersonic_standalone container_name: supersonic_standalone
environment: environment:
DB_HOST: supersonic_mysql DB_HOST: supersonic_mysql

View File

@@ -24,19 +24,19 @@ langchain4j:
embedding-model: embedding-model:
model-name: bge-small-zh model-name: bge-small-zh
# embedding-store: embedding-store:
# persist-path: /tmp persist-path: /tmp
# chroma: # chroma:
# embedding-store: # embedding-store:
# baseUrl: http://0.0.0.0:8000 # baseUrl: http://0.0.0.0:8000
# timeout: 120s # timeout: 120s
milvus: # milvus:
embedding-store: # embedding-store:
host: localhost # host: localhost
port: 2379 # port: 2379
uri: http://0.0.0.0:19530 # uri: http://0.0.0.0:19530
token: demo # token: demo
dimension: 512 # dimension: 512
timeout: 120s # timeout: 120s