-
Notifications
You must be signed in to change notification settings - Fork 0
Data Directory
thehijacker edited this page May 1, 2026
·
1 revision
All persistent data is stored in a single directory. Mount it as a Docker volume to preserve data across container updates.
data/
├── codexa.db # SQLite database (WAL mode)
├── books/ # Uploaded EPUB files
├── covers/ # Extracted cover images
├── fonts/ # User-uploaded custom fonts
└── dictionaries/ # StarDict dictionary files (.ifo / .idx / .dict)In your docker-compose.yaml:
volumes:
- ./data:/dataAnd set the environment variable:
environment:
DATA_DIR: /dataThe database schema is migrated automatically on startup — no manual migration steps are needed.