fix: update embedding endpoint and port in configuration

This commit is contained in:
ArnabChatterjee20k committed 2026-06-01 11:38:58 +05:30
1 parent 904661c98c
commit 6d540f9b8e
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -56,7 +56,7 @@ _APP_DB_ADAPTER_VECTORSDB=postgresql
_APP_DB_HOST_VECTORSDB=postgresql
_APP_DB_PORT_VECTORSDB=5432
_APP_EMBEDDING_MODELS=nomic-embed-text
_APP_EMBEDDING_ENDPOINT='http://appwrite-embedding:11434/embed'
_APP_EMBEDDING_ENDPOINT='http://appwrite-embedding:3000/embed'
_APP_EMBEDDING_TIMEOUT=30000
_APP_STORAGE_DEVICE=Local
_APP_STORAGE_S3_ACCESS_KEY=
+1 -1
View File
@@ -1278,7 +1278,7 @@ return function (Container $context): void {
$context->set('embeddingAgent', function ($register) {
$adapter = new AppwriteAdapter();
$adapter->setEndpoint(System::getEnv('_APP_EMBEDDING_ENDPOINT', 'http://appwrite-embedding:11434/embed'));
$adapter->setEndpoint(System::getEnv('_APP_EMBEDDING_ENDPOINT', 'http://appwrite-embedding:3000/embed'));
$adapter->setTimeout((int) System::getEnv('_APP_EMBEDDING_TIMEOUT', '30000'));
return new Agent($adapter);
}, ['register']);
+1 -1
View File
@@ -1364,7 +1364,7 @@ services:
EMBEDDING_MODELS: ${_APP_EMBEDDING_MODELS:-nomic-embed-text}
container_name: appwrite-embedding
ports:
- "11430:11434"
- "3000:3000"
restart: unless-stopped
# persistent for caching models across restarts and preloading
volumes: