diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 000000000..3c3629e64 --- /dev/null +++ b/.dockerignore @@ -0,0 +1 @@ +node_modules diff --git a/pkg/services/config.go b/pkg/services/config.go index 0eadb67c6..3f0245283 100644 --- a/pkg/services/config.go +++ b/pkg/services/config.go @@ -101,6 +101,7 @@ func New(ctx context.Context, config Config) (*Services, error) { if strings.HasPrefix(config.DSN, "postgres://") { _ = os.Setenv("KNOW_VECTOR_DB", strings.Replace(config.DSN, "postgres://", "pgvector://", 1)) + _ = os.Setenv("KNOW_INDEX_DSN", strings.Replace(config.DSN, "postgres://", "pgvector://", 1)) } storageClient, restConfig, dbAccess, err := storage.Start(ctx, config.Config)