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 committed Aug 24, 2023
1 parent 585b1eb commit 1fa09ec
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 1fa09ec

Please sign in to comment.