docker-compose -f up -d --build
docker-compose logs -f --tail="20"
docker ps -a
docker container prune -f
docker images -a
docker image prune -a
docker volume ls
docker volume prune
docker system prune
docker system prune -a
docker run -it -p 5000:5000 --link redis -e KUE_PREFIX=queue christophwitzko/kue-ui
docker exec -it server-redis redis-cli FLUSHALL
docker rm
curl -X POST -H 'Content-Type: application/json' "http://localhost:9200/salestracker-eng/offers/_search?pretty" -d '{"query": {"match_all" : { }}}'
curl -X POST "localhost:9200/salestracker-est/offers/_delete_by_query?pretty" -H 'Content-Type: application/json' -d'{"query": {"match_all": {}}}'
curl -X DELETE "localhost:9200/salestracker-eng"
mocha -r ts-node/register tests/parsers.spec.js
curl -XPOST 'localhost:9200/salestracker-eng/offers/_delete_by_query?conflicts=proceed&pretty' -d' { "query": { "match_all": {} } }'
sudo chown salestracker:salestracker .data/elasticsearch/
sudo chmod g+rwx .data/elasticsearch sudo chgrp 1000 .data/elasticsearch
vm.max_map_count=524288
sudo sysctl -w vm.max_map_count=524288