Skip to content

jdobber/jibjib-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jibjib-setup

Easy setup for the fabulous JibJib service with docker stack.

First build the JibJib API Service image:

git clone https://github.com/gojibjib/jibjib-api
cd jibjib-api
docker build --tag=jibjib .
cd ..

Then clone this repository:

git clone https://github.com/jdobber/jibjib-setup.git
cd jibjib-setup

Set the environment and fetch all additional assets (model etc.). This will fetch approx. 500 MB and may take some time:

source ./set_env.sh 
./setup.sh

Pull all other images:

docker pull obitech/tensorflow-serving:devel-cpu
docker pull obitech/jibjib-query

Then deploy the stack (maybe you need to perfom docker swarm init before):

docker stack deploy -c docker-compose.yml --prune jibjib

Wait for MongoDB to show up (use docker ps to check):

Then run (and only once):

./init_mongodb.sh

Check the service at: http://<your_ip>:8000

See here for API endpoints and documentation about how to query the service.

Finally, If you want to stop the service and remove the stack:

docker stack rm jibjib

About

Easy setup for the fabulous JibJib service.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages