Skip to content

Instantly share code, notes, and snippets.

@cmal
Created June 10, 2022 09:03
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 cmal/99437d3b56daa0d34dd1d66ed4de1574 to your computer and use it in GitHub Desktop.
Save cmal/99437d3b56daa0d34dd1d66ed4de1574 to your computer and use it in GitHub Desktop.
docker run --network bridge -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" docker.elastic.co/elasticsearch/elasticsearch:7.14.0-arm64
docker run --platform linux/amd64 --rm -p 4090:4090 -v $(pwd):$(pwd) -w $(pwd) simon987/sist2:2.12.1-x64-linux scan epub-stock -o epub.idx
docker run --platform linux/amd64 --rm -p 4090:4090 -v $(pwd):$(pwd) -w $(pwd) simon987/sist2:2.12.1-x64-linux index --es-url http://172.17.0.2:9200 epub.idx
docker run --platform linux/amd64 --rm -p 4090:4090 -v $(pwd):$(pwd) -w $(pwd) simon987/sist2:2.12.1-x64-linux web --bind 0.0.0.0:4090 --es-url http://172.17.0.2:9200 epub.idx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment