Skip to content

fix: use absolute /data path for SQLite in .env.example to match Docker volume#139

Merged
nullure merged 1 commit intoCaviraOSS:mainfrom
haosenwang1018:fix/sqlite-docker-volume-path
Feb 24, 2026
Merged

fix: use absolute /data path for SQLite in .env.example to match Docker volume#139
nullure merged 1 commit intoCaviraOSS:mainfrom
haosenwang1018:fix/sqlite-docker-volume-path

Conversation

@haosenwang1018
Copy link
Copy Markdown
Contributor

Closes #135

The .env.example sets OM_DB_PATH=./data/openmemory.sqlite (relative path), but the Docker volume in docker-compose.yml is mounted at /data. When users copy .env.example to .env, the SQLite file is created at ./data/ inside the container (not on the mounted volume), causing all data to be lost on container restart.

This fix changes the example path to /data/openmemory.sqlite (absolute) to match the volume mount point.

@nullure nullure merged commit afc7db1 into CaviraOSS:main Feb 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] sqlite datafile is not stored on docker volume

2 participants