Skip to main content
NekoHub supports three storage backends. Set Storage__Provider to the appropriate value and supply the matching variables for that provider.

Local storage

Local storage writes files directly to the server’s filesystem. It is the simplest option and the default in the provided compose.yaml.Good for: development, single-machine deployments, or any setup where you manage backups yourself.

Required variables

Storage__Provider=local
Storage__Local__RootPath=/app/storage/assets
Storage__PublicBaseUrl=http://localhost:5121/content

Variable reference

VariableRequiredDefaultDescription
Storage__ProviderYesMust be local.
Storage__Local__RootPathNo/app/storage/assetsAbsolute path on the server where assets are written. Mount a persistent Docker volume at this path.
Storage__PublicBaseUrlYesPublic URL prefix for serving assets. The backend exposes stored files under /content, so this should end in /content.

Docker volume tip

Map a named volume to Storage__Local__RootPath in your compose.yaml so assets survive container restarts and upgrades:
volumes:
  - nekohub_assets:/app/storage/assets