The Graphicsearch provides simple image search backend.
$ docker-compose up
For a production use, you may be happy to use docker-compose_production.yml
rather.
$ docker-compose -f docker-compose_production.yml up
Visit: localhost:8000/redoc
You may need to create an index for the first time to access to the app.
$ docker-compose exec app bash -c "(echo 'from elasticsearch_interface import ElasticsearchInterface'; echo \"ElasticsearchInterface('image_net_b0').create_index()\") | python"
$ curl -XPOST -F file=@/path/to/image.jpg localhost:8000/index
$ curl -XPOST -F file=@/path/to/image.jpg localhost:8000/search