Volume Mounts
One persistent data root
Section titled “One persistent data root”The current official container uses a single persistent mount:
/dataIt 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:Data layout
Section titled “Data layout”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.nostosbackup 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.nostosexport.
Bind-mount alternative
Section titled “Bind-mount alternative”If you prefer a visible host directory, you can replace the named volume with a bind mount:
volumes: - ./nostos-data:/dataKeep 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.