Skip to content

Commit 27253a3

Browse files
vidiecanclaude
andcommitted
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>
1 parent 2b87775 commit 27253a3

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)