mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-10 19:51:00 +00:00
(improvement)(build) Support passing the version as a variable in the docker-compose.yml file. (#1313)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user