mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-11 12:07:42 +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
|
- 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
|
||||||
|
|||||||
@@ -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
|
||||||
Reference in New Issue
Block a user