-
Notifications
You must be signed in to change notification settings - Fork 11
Change data paths according to semantic.work conventions #101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
- Persist the update handler's state in /data instead of /config - Mount files in /share instead of /data
| volumes: | ||
| - ./config/search:/config | ||
| - ./data/search:/data | ||
| - ./data/files:/share # in case your index files |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small typo here
| - ./data/files:/share # in case your index files | |
| - ./data/files:/share # in case you index files |
| - ./config/search:/config | ||
| - ./data/search:/data | ||
| - ./data/files:/share # in case your index files | ||
| - ./data/tika/cache:/cache # in case your index files |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - ./data/tika/cache:/cache # in case your index files | |
| - ./data/tika/cache:/cache # in case you index files |
nvdk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess this needs to be done, though in the past we opted to have the update-store in config specifically for backwards compatibility (and not having to change the file mount path).
I think this PR could be improved by some startup checks so we can warn users if they have not properly moved the update store or if we detect other files than the update-store in /data.
Change paths of mounted folders to be more in line with other services:
/datainstead of/config/shareinstead of/dataThis is a breaking change. Tried to be backwards compatible but it's very hard since the user has to update the mount points in
docker-compose.yml. An upgrade path is documented in the changelog.