Skip to content

Commit 26d4b52

Browse files
committed
Provide a docker-compose that can run solr
1 parent 204d2e4 commit 26d4b52

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ See the [CONTRIBUTORS](CONTRIBUTORS.md) file.
8484

8585
## Development
8686

87-
ArcLight development uses [`solr_wrapper`](https://rubygems.org/gems/solr_wrapper/versions/0.18.1) and [`engine_cart`](https://rubygems.org/gems/engine_cart) to host development instances of Solr and Rails server on your local machine.
87+
ArcLight requires Solr to be running. For development you can start this using `solr_wrapper` or you may choose to use Docker. Start Solr using Docker by doing `docker compose up`.
8888

8989
### Run the test suite
9090

docker-compose.yml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
version: "3.7"
2+
3+
services:
4+
solr:
5+
image: solr:latest
6+
volumes:
7+
- $PWD/solr/conf:/opt/solr/conf
8+
ports:
9+
- 8983:8983
10+
entrypoint:
11+
- docker-entrypoint.sh
12+
- solr-precreate
13+
- blacklight-core
14+
- /opt/solr/conf
15+
- "-Xms256m"
16+
- "-Xmx512m"

0 commit comments

Comments
 (0)