Skip to content

Instantly share code, notes, and snippets.

@yvanzo
Created October 9, 2020 09:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yvanzo/3b5f3f6940170d2ae7dc2cb87b7b0a68 to your computer and use it in GitHub Desktop.
Save yvanzo/3b5f3f6940170d2ae7dc2cb87b7b0a68 to your computer and use it in GitHub Desktop.
Replacing mb-solr with netcat for search service
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