@5minds/node-red-contrib-processcube-tools 1.2.0-feature-608421-mg9cjskq → 1.2.0-feature-8f3d72-mg9cplxi
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
<script type="text/html" data-help-name="file-storage">
|
|
135
135
|
<h2>File Storage Node</h2>
|
|
136
136
|
<p>
|
|
137
|
-
|
|
137
|
+
The File Storage Node allows you to store, retrieve, and delete files (including metadata) using either the local filesystem or PostgreSQL (Large Objects + metadata table) as a backend.
|
|
138
138
|
</p>
|
|
139
139
|
<h3>Features</h3>
|
|
140
140
|
<ul>
|
|
@@ -153,8 +153,7 @@
|
|
|
153
153
|
<li><b>Provider:</b> Select between Filesystem and PostgreSQL.</li>
|
|
154
154
|
<li><b>Output:</b> Choose the output type for retrieval: Stream, Buffer, or Path (Path only for filesystem).</li>
|
|
155
155
|
<li><b>Base Dir:</b> (Filesystem) Directory where files are stored.</li>
|
|
156
|
-
<li><b>
|
|
157
|
-
<li><b>Table:</b> (PostgreSQL) Table for metadata (default: files).</li>
|
|
156
|
+
<li><b>PostgreSQL Connection:</b> Enter username, password, host, port, database, schema (default: public), and table (default: files).</li>
|
|
158
157
|
<li><b>Default Action:</b> Default action if not specified in the message (store, get, or delete).</li>
|
|
159
158
|
</ul>
|
|
160
159
|
<h3>Input</h3>
|
|
@@ -195,9 +194,10 @@ msg.file = { id: "your-file-id" };
|
|
|
195
194
|
</pre>
|
|
196
195
|
<h3>Notes</h3>
|
|
197
196
|
<ul>
|
|
198
|
-
<li>For PostgreSQL, ensure the connection
|
|
197
|
+
<li>For PostgreSQL, ensure the connection details (username, password, host, port, database, schema, table) are correct and the user has the necessary permissions.</li>
|
|
199
198
|
<li>For filesystem storage, ensure the base directory is writable by Node-RED.</li>
|
|
200
199
|
<li>The node is designed to handle large files efficiently using streams.</li>
|
|
200
|
+
<li>If running in Docker, make sure the volumes are mapped correctly and the environment variables are set for both Node-RED and PostgreSQL services.</li>
|
|
201
201
|
</ul>
|
|
202
202
|
<p><b>Enjoy using the File Storage Node in your Node-RED flows!</b></p>
|
|
203
203
|
</script>
|
package/package.json
CHANGED