Skip to content

Commit

Permalink
fix: configure directory in command for solr
Browse files Browse the repository at this point in the history
  • Loading branch information
tobybellwood committed Mar 27, 2024
1 parent 9c7ddd4 commit 355ca6d
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,10 @@ services:
- "8983"
volumes:
- solr-8-data:/var/solr
command:
- solr-precreate
- mycore
command: ["sh", "-c", "
mkdir -p /var/solr/data;
solr-precreate mycore
"]
solr-9:
image: uselagoon/solr-9:latest
Expand All @@ -124,6 +125,7 @@ services:
- "8983"
volumes:
- solr-9-data:/var/solr
command:
- solr-precreate
- mycore
command: ["sh", "-c", "
mkdir -p /var/solr/data;
solr-precreate mycore
"]

0 comments on commit 355ca6d

Please sign in to comment.