Skip to main content

inline::localfs

Description

Local filesystem-based file storage provider for managing files and documents locally.

Configuration

FieldTypeRequiredDefaultDescription
storage_dirstrNoDirectory to store uploaded files
metadata_storeSqlStoreReferenceNoSQL store configuration for file metadata
metadata_store.table_namestrNoName of the table to use for the SqlStore
metadata_store.backendstrNoName of backend from storage.backends
ttl_secsintNo31536000

Sample Configuration

storage_dir: ${env.FILES_STORAGE_DIR:=~/.llama/dummy/files}
metadata_store:
table_name: files_metadata
backend: sql_default