Skip to content

Comments

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

Open
haosenwang1018 wants to merge 1 commit intoCaviraOSS:mainfrom
haosenwang1018:fix/sqlite-docker-volume-path
Open

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

Conversation

@haosenwang1018
Copy link

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.

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

1 participant