Skip to content

Conversation

@erikap
Copy link
Member

@erikap erikap commented Sep 3, 2025

Change paths of mounted folders to be more in line with other services:

  • Persist the update handler's state in /data instead of /config
  • Mount files in /share instead of /data

This 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.

- Persist the update handler's state in /data instead of /config
- Mount files in /share instead of /data
@erikap erikap requested a review from nvdk September 3, 2025 14:34
volumes:
- ./config/search:/config
- ./data/search:/data
- ./data/files:/share # in case your index files
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

small typo here

Suggested change
- ./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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- ./data/tika/cache:/cache # in case your index files
- ./data/tika/cache:/cache # in case you index files

Copy link
Member

@nvdk nvdk left a 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.

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.

3 participants