Skip to content

Commit d8c5d54

Browse files
vidiecanclaudemilanmajchrakCopilot
authored
Make Solr heap tunable via SOLR_HEAP (default 4g, no behavior change) (#1309)
* Make Solr heap tunable via SOLR_HEAP env var Default stays 4g, so no behavior change unless SOLR_HEAP is set. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * Add Solr params into quotes Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Co-authored-by: milanmajchrak <90026355+milanmajchrak@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 2b87775 commit d8c5d54

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docker/docker-compose-rest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ services:
174174
cp -r /opt/solr/server/solr/configsets/search/* search
175175
precreate-core statistics /opt/solr/server/solr/configsets/statistics
176176
cp -r /opt/solr/server/solr/configsets/statistics/* statistics
177-
exec solr -p 8983 -f -m 4g
177+
exec solr -p 8983 -f -m "${SOLR_HEAP:-4g}"
178178
volumes:
179179
# Commented out because there are a lot of files in the assetstore
180180
assetstore:

0 commit comments

Comments
 (0)