Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions deployment/docker/datamate/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ services:
- log_level=DEBUG
- pgsql_password=${DB_PASSWORD:-password}
- datamate_jwt_enable=${DATAMATE_JWT_ENABLE:-false}
- milvus_uri=${MILVUS_URI:-http://milvus:19530}
volumes:
- dataset_volume:/dataset
- flow_volume:/flow
Expand Down
2 changes: 2 additions & 0 deletions deployment/helm/datamate/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ backend-python:
key: DB_PASSWORD
- name: datamate_jwt_enable
value: *DATAMATE_JWT_ENABLE
- name: milvus_uri
value: "http://milvus:19530"
volumes:
- *datasetVolume
- *flowVolume
Expand Down
7 changes: 7 additions & 0 deletions runtime/datamate-python/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,10 @@ LABEL_STUDIO_BASE_URL=http://localhost:30001
LABEL_STUDIO_USER_TOKEN="demo_dev_token"

DATAMATE_JWT_ENABLE=false

# Milvus settings (Vector Database)
# Development: use localhost
MILVUS_URI=http://localhost:19530
MILVUS_TOKEN=
# Production: use service name
# MILVUS_URI=http://milvus:19530
2 changes: 1 addition & 1 deletion runtime/datamate-python/app/core/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def build_database_url(self):
datamate_jwt_enable: bool = False

# Milvus 配置
milvus_uri: str = "http://localhost:19530"
milvus_uri: str = "http://milvus:19530"
milvus_token: str = ""

# 文件存储配置(共享文件系统)
Expand Down
Loading