Spaces:
Running
Running
Commit Β·
a504663
1
Parent(s): 0caae8b
update
Browse files- config.py +1 -1
- docker-compose.yml +15 -0
config.py
CHANGED
|
@@ -85,7 +85,7 @@ class Settings(BaseSettings):
|
|
| 85 |
mistral_model: str = os.getenv("MISTRAL_MODEL", "devstral-latest")
|
| 86 |
|
| 87 |
# ββ Redis cache βββββββββββββββββββββββββββββββββββββββββββ
|
| 88 |
-
redis_url: str = "
|
| 89 |
cache_ttl_seconds: int = 3600 # 1 hour
|
| 90 |
|
| 91 |
# ββ Evaluation ββββββββββββββββββββββββββββββββββββββββββββ
|
|
|
|
| 85 |
mistral_model: str = os.getenv("MISTRAL_MODEL", "devstral-latest")
|
| 86 |
|
| 87 |
# ββ Redis cache βββββββββββββββββββββββββββββββββββββββββββ
|
| 88 |
+
redis_url: str = ""
|
| 89 |
cache_ttl_seconds: int = 3600 # 1 hour
|
| 90 |
|
| 91 |
# ββ Evaluation ββββββββββββββββββββββββββββββββββββββββββββ
|
docker-compose.yml
CHANGED
|
@@ -88,7 +88,22 @@ services:
|
|
| 88 |
milvus:
|
| 89 |
condition: service_healthy
|
| 90 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 91 |
volumes:
|
| 92 |
etcd_data:
|
| 93 |
minio_data:
|
| 94 |
milvus_data:
|
|
|
|
|
|
| 88 |
milvus:
|
| 89 |
condition: service_healthy
|
| 90 |
|
| 91 |
+
# ββ Redis (Cache/Message Broker) βββββββββββββββββββββββββββ
|
| 92 |
+
# redis:
|
| 93 |
+
# image: redis:7-alpine
|
| 94 |
+
# container_name: cortex-redis
|
| 95 |
+
# ports:
|
| 96 |
+
# - "6379:6379"
|
| 97 |
+
# volumes:
|
| 98 |
+
# - redis_data:/data
|
| 99 |
+
# healthcheck:
|
| 100 |
+
# test: ["CMD", "redis-cli", "ping"]
|
| 101 |
+
# interval: 10s
|
| 102 |
+
# timeout: 5s
|
| 103 |
+
# retries: 5
|
| 104 |
+
|
| 105 |
volumes:
|
| 106 |
etcd_data:
|
| 107 |
minio_data:
|
| 108 |
milvus_data:
|
| 109 |
+
# redis_data:
|