Created
October 9, 2020 09:32
-
-
Save yvanzo/3b5f3f6940170d2ae7dc2cb87b7b0a68 to your computer and use it in GitHub Desktop.
Replacing mb-solr with netcat for search service
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/docker-compose.yml b/docker-compose.yml | |
index ec558603..8e0a0393 100644 | |
--- a/docker-compose.yml | |
+++ b/docker-compose.yml | |
@@ -81,24 +81,18 @@ services: | |
- search | |
search: | |
- build: | |
- context: build/solr | |
- args: | |
- - MB_SOLR_VERSION=${MB_SOLR_VERSION:-3.1.3} | |
- image: musicbrainz-docker_search:${MB_SOLR_VERSION:-3.1.3} | |
+ image: subfuzion/netcat:latest | |
logging: | |
driver: "json-file" | |
options: | |
max-size: "10m" | |
max-file: "10" | |
restart: unless-stopped | |
- environment: | |
- - SOLR_HEAP=2g | |
expose: | |
- "8983" | |
- volumes: | |
- - solrdata:/opt/solr/server/solr/data | |
- - searchdump:/media/searchdump | |
+ expose: | |
+ - "8983" | |
+ command: -l -p 8983 -v | |
mq: | |
build: build/rabbitmq |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment