mirror of
https://github.com/wahyd4/links.git
synced 2026-08-09 05:06:16 +10:00
fix: use internal k8s dns for sync api
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ from qdrant_client.models import Distance, VectorParams, PointStruct
|
||||
import os
|
||||
|
||||
# Configuration from environment variables
|
||||
DJANGO_API = os.getenv("DJANGO_API", "http://192.168.1.1:8000/api/links/")
|
||||
DJANGO_API = os.getenv("DJANGO_API", "http://links.apps.svc.cluster.local/api/posts/")
|
||||
OLLAMA_URL = os.getenv("OLLAMA_URL", "http://192.168.1.1:11434")
|
||||
OLLAMA_MODEL = os.getenv("OLLAMA_MODEL", "llama3")
|
||||
QDRANT_HOST = os.getenv("QDRANT_HOST", "192.168.1.2")
|
||||
|
||||
Reference in New Issue
Block a user