Metadata
Files and folders can be annotated with metadata. Metadata is stored in a file called <name>.dbmeta.json, where <name> is the exact file (including extension) or folder name. Put it in the same folder as the target file or folder. Metadata is stored in a JSON format specified below.
The *.dbmeta.json files are hidden from the user and cannot be viewed.
{
"description": "A short project description ⭐",
"labels": ["danger:Laravel", "primary:PHP 8", "dark:Hot 🔥"],
"hidden": false,
"password": "mysecurepassword",
"hash_required": false
}
If you are looking for the ".dbmeta.md" files, see Readme Rendering.
Properties
Description
A short description of the file or folder. This is displayed in the file tree.
Default is empty.
Labels
Labels always start with a style and a colon :, followed by the label text. The following styles are available:
primarysecondarysuccessdangerwarninginfolightdark
Labels must not contain a semicolon ;.
Default is empty.
Hidden
The file can still be accessed via URL directly. If you want to ignore it completely, consider using an IGNORE pattern.
If set to true, the file or folder is hidden from the file tree. Can be combined with password protection.
Default is
false.
Password
See Password Protection.
Default is empty.
Hash Required
See Integrity & Hashes.
Default is
false.
⚙️ Configuration
| Variable | Default | Values | Details |
|---|---|---|---|
| METADATA | true | true false | Enables support for metadata parsing. Disabling this feature will therefore disable all metadata related features like file passwords.added in v3.3 |
How to set configuration options
Use
docker run...- ...with
-e METADATA=true - ...with
--env-file .envand placeMETADATA=truein the file