Skip to content

Volume Mounts

The current official container uses a single persistent mount:

/data

It contains the SQLite database, imported media, local backup archives, and the key ring that protects secrets saved in Settings.

The committed Compose setup uses a Docker named volume:

services:
nostos:
volumes:
- nostos-data:/data
volumes:
nostos-data:

Inside the container:

/data/
├── nostos.db
├── books/
├── backups/
└── keys/
  • nostos.db — SQLite library database and its SQLite sidecar files when present.
  • books/ — stored book files, audiobook files, covers, thumbnails, and related generated book assets.
  • backups/ — local .nostos backup archives.
  • keys/ — the key ring Nostos uses to encrypt secrets you save in Settings, such as AI provider keys. Keep it private, and back it up together with the database: without it, saved keys cannot be decrypted. It is not part of a portable .nostos export.

If you prefer a visible host directory, you can replace the named volume with a bind mount:

volumes:
- ./nostos-data:/data

Keep that directory on storage with reliable local filesystem semantics.

A live SQLite database should not be placed casually on network shares or cloud-sync folders. See Safe SQLite Storage for the reason.