8000 [FEATURE]: allow non-standard SOLR_HOME for containers with empty volumes by morph027 · Pull Request #4372 · TYPO3-Solr/ext-solr · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[FEATURE]: allow non-standard SOLR_HOME for containers with empty volumes #4372

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

morph027
Copy link
@morph027 morph027 commented Jun 4, 2025

What this pr does

Populates non-standard SOLR_HOME for containers where the attached volume is empty. This came up while running the container image on AWS ECS Fargate which does not copy the contents of a Dockefile VOLUME to the mountpoint (EFS in this case) - aws/containers-roadmap#863

Workaround is to set a different SOLR_HOME (even if not advised by upstream Apache Solr) and copy the contents of the image to this location.

This only affects container runtimes other than Docker (e.g. containerd) and mounts which are not bind mounts.

How to test

  • docker image build locally docker buildx build --load -t typo3solr/ext-solr:dev -f Docker/SolrServer/Dockerfile .
  • run with different SOLR_HOME: docker run --rm -it --tmpfs /var/lib/solr:uid=8983,gid=8983 -e SOLR_HOME=/var/lib/solr typo3solr/ext-solr:dev

Fixes: #4371

morph027 added 6 commits June 4, 2025 20:31
Signed-off-by: morph027 <stefan.heitmueller@gmx.com>
Signed-off-by: morph027 <stefan.heitmueller@gmx.com>
Signed-off-by: morph027 <stefan.heitmueller@gmx.com>
Signed-off-by: morph027 <stefan.heitmueller@gmx.com>
Signed-off-by: morph027 <stefan.heitmueller@gmx.com>
Signed-off-by: morph027 <stefan.heitmueller@gmx.com>
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.

[FEATURE] allow non-standard SOLR_HOME for containers with empty volumes
1 participant
0