Skip to content

Commit

Permalink
docker-compose: set solr ulimits
Browse files Browse the repository at this point in the history
This fixes a known issues on some devices where the solr container can
take minutes to start.

Already applied on nurax[1].

1. https://github.com/samvera-labs/nurax/blob/pg/docker-compose.yml#L113-L116
  • Loading branch information
mcritchlow authored and tamsin johnson committed Aug 24, 2023
1 parent 774ed4f commit 65dda3b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker-compose-koppie.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,10 @@ services:
volumes:
- solr_home:/var/solr/data:cached
- .koppie/solr/conf:/opt/solr/server/configsets/hyraxconf
ulimits:
nofile:
soft: 65536
hard: 524288
networks:
- koppie

Expand Down
4 changes: 4 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,10 @@ services:
volumes:
- solr_home:/var/solr/data:cached
- .dassie/solr/conf:/opt/solr/server/configsets/hyraxconf
ulimits:
nofile:
soft: 65536
hard: 524288
networks:
- hyrax

Expand Down

0 comments on commit 65dda3b

Please sign in to comment.